[debug views] set http cache max age to 0 on debug views stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 22 Jun 2010 11:04:59 +0200
branchstable
changeset 5825 2daf1ac79d5c
parent 5824 de9b7e88660e
child 5826 462435bf5457
[debug views] set http cache max age to 0 on debug views
web/views/debug.py
--- a/web/views/debug.py	Tue Jun 22 10:29:04 2010 +0200
+++ b/web/views/debug.py	Tue Jun 22 11:04:59 2010 +0200
@@ -43,6 +43,7 @@
     __select__ = none_rset() & match_user_groups('managers')
 
     title = _('server information')
+    cache_max_age = 0
 
     def call(self, **kwargs):
         req = self._cw
@@ -126,6 +127,7 @@
     __regid__ = 'registry'
     __select__ = StartupView.__select__ & match_user_groups('managers')
     title = _('registry')
+    cache_max_age = 0
 
     def call(self, **kwargs):
         self.w(u'<h1>%s</h1>' % _("Registry's content"))
@@ -148,6 +150,7 @@
     __regid__ = 'gc'
     __select__ = StartupView.__select__ & match_user_groups('managers')
     title = _('memory leak debugging')
+    cache_max_age = 0
 
     def call(self, **kwargs):
         from cubicweb._gcdebug import gc_info