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
+1 -1
View File
@@ -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
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>