Cache Update
This commit is contained in:
+8
-1
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user