[IMP] customized werkzeug cache handling for static files
bzr revid: nicolas.vanhoren@openerp.com-20120711102713-ka8b1hcf46mdg2wh
This commit is contained in:
parent
a3b2a4e997
commit
f419cb8e02
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue