Set Cache-control on all generated pages, centralize in Endpoint
[cascardo/ipsilon.git] / ipsilon / admin / common.py
index fd20077..b371fe9 100644 (file)
@@ -39,11 +39,6 @@ class AdminPage(Page):
 
     def __init__(self, *args, **kwargs):
         super(AdminPage, self).__init__(*args, **kwargs)
-        self.default_headers.update({
-            'Cache-Control': 'no-cache, must-revalidate',
-            'Pragma': 'no-cache',
-            'Expires': 'Thu, 01 Dec 1994 16:00:00 GMT',
-        })
         self.auth_protect = True