mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-04 09:11:42 +02:00
Fix Caching
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user