This commit is contained in:
Mateusz Gruszczyński
2026-05-06 08:47:20 +02:00
parent dc1cac4e6f
commit 890e3d1564
5 changed files with 6 additions and 6 deletions

View File

@@ -64,9 +64,7 @@ def create_app() -> Flask:
if request.endpoint == "static":
response.headers["Cache-Control"] = "public, max-age=31536000, immutable"
else:
response.headers["Cache-Control"] = "no-cache, no-store, must-revalidate"
response.headers["Pragma"] = "no-cache"
response.headers["Expires"] = "0"
response.headers["Cache-Control"] = "no-store, private"
return response
from .routes.main import bp as main_bp