Commits

jason kirtland committed e8f4736

Force expiration.

Comments (0)

Files changed (1)

blatter/__init__.py

 
         response = BaseResponse(mimetype=mimetype or 'text/plain')
         response.data = template.render(config=config, environ=environ)
+        response.headers['Pragma'] = 'no-cache'
+        response.headers['Cache-Control'] = 'no-cache, must-revalidate'
+        response.headers['Expires'] = 'Sun, 13 Aug 1995 13:00:00 GMT'
         return response
     return template_viewer