From f419cb8e024ea6a8713091714f940f2ffddf150e Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Wed, 11 Jul 2012 12:27:13 +0200 Subject: [PATCH] [IMP] customized werkzeug cache handling for static files bzr revid: nicolas.vanhoren@openerp.com-20120711102713-ka8b1hcf46mdg2wh --- addons/web/common/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/common/http.py b/addons/web/common/http.py index 487800da1b9..cc76a554693 100644 --- a/addons/web/common/http.py +++ b/addons/web/common/http.py @@ -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):