Mercurial > libervia-web
diff src/pages/u/page_meta.py @ 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 | 1c9b6d2c30b5 |
children | ff503f23ac37 |
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)