[IMP] customized werkzeug cache handling for static files

bzr revid: nicolas.vanhoren@openerp.com-20120711102713-ka8b1hcf46mdg2wh
This commit is contained in:
niv-openerp 2012-07-11 12:27:13 +02:00
parent a3b2a4e997
commit f419cb8e02
1 changed files with 1 additions and 1 deletions

View 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):