fix(web): Zahl und Einheit nicht umbrechen, HTML ohne Cache ausliefern

This commit is contained in:
torsten 2026-11-29 18:22:44 +01:00
parent 8e3c78b98c
commit 38616bfc0e
2 changed files with 32 additions and 29 deletions

View file

@ -38,6 +38,9 @@ AddDefaultCharset UTF-8
<FilesMatch "\.(css|js|svg|png|jpg|jpeg|webp|ico|woff2)$">
Header set Cache-Control "public, max-age=604800"
</FilesMatch>
<FilesMatch "\.html$">
Header set Cache-Control "no-cache"
</FilesMatch>
<FilesMatch "^sw\.js$">
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Service-Worker-Allowed "/"