Cache Update

This commit is contained in:
2026-01-08 15:42:53 +01:00
parent 7ee38da60d
commit a78501a6a4
2 changed files with 9 additions and 2 deletions
+8 -1
View File
@@ -31,6 +31,14 @@ AddType text/css css
Header set Cache-Control "public, max-age=3600"
</FilesMatch>
# Never cache service worker or manifest (avoid stale app shell)
<FilesMatch "^flutter_service_worker\.js$">
Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0"
</FilesMatch>
<FilesMatch "^manifest\.json$">
Header set Cache-Control "no-cache, max-age=0"
</FilesMatch>
# Never cache the HTML entry point
<FilesMatch "^index\.html$">
Header set Cache-Control "no-cache, no-store, must-revalidate, max-age=0"
@@ -50,4 +58,3 @@ AddType text/css css
AddOutputFilterByType DEFLATE \
text/html text/plain text/css application/javascript application/json application/wasm image/svg+xml
</IfModule>