Cache the entire homepage for 5 minutes.
This means that comments and blog posts will take at most 5 minutes to show up on /.
This commit is contained in:
@@ -87,6 +87,9 @@ class CloudExtension(PillarExtension):
|
||||
|
||||
signal_user_changed_role.connect(self._user_changed_role)
|
||||
|
||||
from . import routes
|
||||
routes.setup_app(app)
|
||||
|
||||
def _user_changed_role(self, sender, user: dict):
|
||||
from pillar.api import service
|
||||
|
||||
|
Reference in New Issue
Block a user