comparison 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
comparison
equal deleted inserted replaced
1033:c34f08e05cdf 1034:f82c355ffa6e
29 data[u'service'] = target_jid 29 data[u'service'] = target_jid
30 30
31 31
32 @defer.inlineCallbacks 32 @defer.inlineCallbacks
33 def prepare_render(self, request): 33 def prepare_render(self, request):
34 data = self.getRData(request)
35 self.checkCache(request, C.CACHE_PUBSUB, service=data[u'service'], node=None, short='microblog')
34 self.pageRedirect(u'blog', request) 36 self.pageRedirect(u'blog', request)