diff --git a/app.py b/app.py index 9e3d113..491fca7 100644 --- a/app.py +++ b/app.py @@ -95,8 +95,6 @@ def finalize_response(response): if response.status_code >= 400: response.headers["Cache-Control"] = "no-store" - response.headers["Pragma"] = "no-cache" - response.headers["Expires"] = "0" return response if path.startswith("/static/"): @@ -109,8 +107,6 @@ def finalize_response(response): if path == "/": response.headers["Cache-Control"] = "private, no-store" - response.headers["Pragma"] = "no-cache" - response.headers["Expires"] = "0" return response return response