Fix Nginx cache and force cache buster on JavaScript

This commit is contained in:
Kroonk
2026-04-12 15:26:37 +02:00
parent 4fc9f28a27
commit 98c39f4b83
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ server {
# Caching fuer Bilder und Assets
location ~* \.(jpg|jpeg|png|gif|svg|ico|css|js|woff|woff2|ttf|eot|otf|webp)$ {
expires 30d;
add_header Cache-Control "public, immutable";
add_header Cache-Control "public, no-cache";
}
# SPA-Fallback