diff --git a/files/routes/front.py b/files/routes/front.py index ab36d8d07..3b9a83832 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -67,9 +67,7 @@ def front_all(v, hole=None): result = cache.get(f'frontpage_{sort}_{t}_{page}_{hole}_{pins}_{effortposts_only}') if result: calc_users() - resp = make_response(result) - resp.headers["Cache-Control"] = "max-age=900" - return resp + return result hide_cw = (SITE_NAME == 'WPD' and v and v.hide_cw)