fix(ui): cache statiques no-cache + version, carte repartition min-height

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XGaEeS4wbkMHuVXmz5fqkh
This commit is contained in:
gemini-opsandClaude Sonnet 5.5 committed 2026-11-17 22:09:47 +01:00
1 parent 4c751eb766
commit ab51591f54
3 files changed
+5 -3

No files matched your search

+2
View File
@@ -95,6 +95,8 @@ async def en_tetes_securite(request: Request, call_next):
reponse.headers["Referrer-Policy"] = "no-referrer"
if request.url.path == "/" or request.url.path.startswith("/api/"):
reponse.headers["Cache-Control"] = "no-store"
elif request.url.path.startswith("/static/") or request.url.path in ("/favicon.ico", "/apple-touch-icon.png"):
reponse.headers["Cache-Control"] = "no-cache"
return reponse
@app.get("/", include_in_schema=False)