make cache duration a day instead of a month
parent
5cc4a69377
commit
2a1a0220b4
|
@ -55,7 +55,7 @@ def before_request():
|
||||||
@app.after_request
|
@app.after_request
|
||||||
def after_request(response):
|
def after_request(response):
|
||||||
if request.path == '/emojis.csv':
|
if request.path == '/emojis.csv':
|
||||||
response.cache_control.max_age = 2678400
|
response.cache_control.max_age = 86400
|
||||||
|
|
||||||
user_id = None
|
user_id = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue