Restore the cache buster.
This commit is contained in:
parent
da2a48954f
commit
204fecc1f9
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ def random_string():
|
||||||
|
|
||||||
def render_page_template(name, **kwargs):
|
def render_page_template(name, **kwargs):
|
||||||
resp = make_response(render_template(name, route_data=json.dumps(get_route_data()),
|
resp = make_response(render_template(name, route_data=json.dumps(get_route_data()),
|
||||||
cache_buster='foobarbaz', **kwargs))
|
cache_buster=random_string(), **kwargs))
|
||||||
resp.headers['X-FRAME-OPTIONS'] = 'DENY'
|
resp.headers['X-FRAME-OPTIONS'] = 'DENY'
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
|
|
Reference in a new issue