diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-07-11 12:27:13 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-07-11 12:27:13 +0200 |
| commit | f419cb8e024ea6a8713091714f940f2ffddf150e (patch) | |
| tree | c2ee6cf3d9fad74c43f24936558844aaab0e0efd /addons/web/common/http.py | |
| parent | a3b2a4e99702a1b0aa53ec38150cb6a84df1df2c (diff) | |
[IMP] customized werkzeug cache handling for static files
bzr revid: nicolas.vanhoren@openerp.com-20120711102713-ka8b1hcf46mdg2wh
Diffstat (limited to 'addons/web/common/http.py')
| -rw-r--r-- | addons/web/common/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
