From e065f5892de0e5974935a64e15e9b5bac6577840 Mon Sep 17 00:00:00 2001 From: gru Date: Fri, 29 Aug 2025 23:49:32 +0200 Subject: [PATCH] Update app.py --- app.py | 4 ---- 1 file changed, 4 deletions(-) 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