don't cache so hard
Build and Push Container / build-and-push (push) Successful in 14s

This commit is contained in:
2026-05-28 13:41:48 -04:00
parent 79c491d7ee
commit 02f2b0ef49
+7 -1
View File
@@ -22,8 +22,14 @@ server {
try_files $uri $uri/ /index.html;
}
# No cache for JavaScript
location ~* \.js$ {
expires -1;
add_header Cache-Control "no-cache, no-store, must-revalidate";
}
# Cache static assets
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
location ~* \.(css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {
expires 30d;
add_header Cache-Control "public, immutable";
}