comparison src/pages/u/page_meta.py @ 1020:1c9b6d2c30b5

pages (u): activated URL caching, avoiding bridge calls on each request.
author Goffi <goffi@goffi.org>
date Sun, 21 Jan 2018 13:15:57 +0100
parents 2345577da5ca
children f82c355ffa6e
comparison
equal deleted inserted replaced
1019:34240d08f682 1020:1c9b6d2c30b5
8 """page used to target a user profile, e.g. for public blog""" 8 """page used to target a user profile, e.g. for public blog"""
9 9
10 name = u"user" 10 name = u"user"
11 access = C.PAGES_ACCESS_PUBLIC # can be a callable 11 access = C.PAGES_ACCESS_PUBLIC # can be a callable
12 template = u"blog/articles.html" 12 template = u"blog/articles.html"
13 url_cache = True
13 14
14 15
15 @defer.inlineCallbacks 16 @defer.inlineCallbacks
16 def parse_url(self, request): 17 def parse_url(self, request):
17 try: 18 try: