Fix Nginx cache and force cache buster on JavaScript
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user