Cache Update
This commit is contained in:
@@ -40,4 +40,4 @@ Hinweis
|
||||
- Alternativ, in 10er-Pakete splitten: `pwsh tool/export.ps1 -Minimal -AsFolder -Chunk 10` und die erzeugten `pack-***` Ordner nacheinander hochladen.
|
||||
- Standard-Ordner: `-AsFolder` ohne `-Chunk` erzeugt einen kompletten Ordner (ggf. in mehreren Uploads á 10 Dateien hochladen).
|
||||
|
||||
flutter build web --release --web-renderer html --pwa-strategy=none --dart-define=BUILD_NUMBER=2025.11.24.2 --dart-define=BACKEND_BASE_URL=https://api.windesign.at/multimedia.php
|
||||
flutter build web --release --web-renderer html --pwa-strategy=none --dart-define=BUILD_NUMBER=2026.01.08.1 --dart-define=BACKEND_BASE_URL=https://api.windesign.at/multimedia.php
|
||||
|
||||
+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