[IMP] customized werkzeug cache handling for static files
authorniv-openerp <nicolas.vanhoren@openerp.com>
Wed, 11 Jul 2012 10:27:13 +0000 (12:27 +0200)
committerniv-openerp <nicolas.vanhoren@openerp.com>
Wed, 11 Jul 2012 10:27:13 +0000 (12:27 +0200)
bzr revid: nicolas.vanhoren@openerp.com-20120711102713-ka8b1hcf46mdg2wh

addons/web/common/http.py

index 487800d..cc76a55 100644 (file)
@@ -453,7 +453,7 @@ class Root(object):
         static_dirs = self._load_addons(openerp_addons_namespace)
         if options.serve_static:
             self.dispatch = werkzeug.wsgi.SharedDataMiddleware(
-                self.dispatch, static_dirs)
+                self.dispatch, static_dirs, cache=False)
 
         if options.session_storage:
             if not os.path.exists(options.session_storage):