Static serving: correct cache headers, no index fallback for assets
ci / docker (push) Successful in 13m11s

- /assets/*: immutable one-year cache on hits, plain 404 on misses
  (previously a missing asset fell back to index.html served as its
  content type, breaking CSS/JS after every deploy for cached clients)
- index.html and SPA routes: no-cache, so deploys are visible immediately
This commit is contained in:
2026-07-17 17:30:13 +02:00
parent 7167af8984
commit 002e51f36e
3 changed files with 29 additions and 4 deletions
Generated
+1
View File
@@ -2574,6 +2574,7 @@ dependencies = [
"time",
"tokio",
"tokio-util",
"tower",
"tower-http",
"tracing",
"tracing-subscriber",