forked from rDrama/rDrama
1
0
Fork 0

try smth on devrama

master
Aevann 2024-02-13 15:34:24 +02:00
parent e97b10613b
commit b71cc901d1
1 changed files with 3 additions and 1 deletions

View File

@ -67,7 +67,9 @@ def front_all(v, hole=None):
result = cache.get(f'frontpage_{sort}_{t}_{page}_{hole}_{pins}_{effortposts_only}')
if result:
calc_users()
return result
resp = make_response(result)
resp.headers["Cache-Control"] = "max-age=900"
return resp
hide_cw = (SITE_NAME == 'WPD' and v and v.hide_cw)