From 98c39f4b8331e5128d8c4161f94a6ad650a1d67c Mon Sep 17 00:00:00 2001 From: Kroonk Date: Sun, 12 Apr 2026 15:26:37 +0200 Subject: [PATCH] Fix Nginx cache and force cache buster on JavaScript --- _includes/footer.html | 2 +- nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index cdeaf27..69011ff 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -5,4 +5,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index 1b44054..3e9785b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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