mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 02:51:48 +02:00
Fix Caching
This commit is contained in:
parent
7ef938a5ff
commit
fe71fa2d8c
@ -266,7 +266,7 @@ def add_header(response):
|
||||
and also to cache the rendered page for 10 minutes.
|
||||
"""
|
||||
if not 'Cache-Control' in response.headers:
|
||||
response.headers['Cache-Control'] = 'private, max-age=600'
|
||||
response.headers['Cache-Control'] = 'private, max-age=600, no-cache, must-revalidate'
|
||||
return response
|
||||
|
||||
@app.context_processor
|
||||
|
Loading…
x
Reference in New Issue
Block a user