changeset 1034:f82c355ffa6e

pages (u): top page (blog) is now cached
author Goffi <goffi@goffi.org>
date Mon, 22 Jan 2018 22:21:13 +0100
parents c34f08e05cdf
children 09f5a5d649df
files src/pages/u/page_meta.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/pages/u/page_meta.py	Mon Jan 22 22:19:26 2018 +0100
+++ b/src/pages/u/page_meta.py	Mon Jan 22 22:21:13 2018 +0100
@@ -31,4 +31,6 @@
 
 @defer.inlineCallbacks
 def prepare_render(self, request):
+    data = self.getRData(request)
+    self.checkCache(request, C.CACHE_PUBSUB, service=data[u'service'], node=None, short='microblog')
     self.pageRedirect(u'blog', request)