Wygląd
This commit is contained in:
2026-07-11 00:51:33 +02:00
parent af44af5027
commit f0813894a8
5 changed files with 48 additions and 17 deletions

View File

@@ -15,6 +15,12 @@ server {
try_files $uri $uri/ /index.html;
}
# Always revalidate the HTML shell so it never points at a stale, no-longer-existing
# hashed JS/CSS bundle after a new deploy.
location = /index.html {
add_header Cache-Control "no-cache";
}
location ~* \.(?:js|css|png|jpg|jpeg|svg|woff2?)$ {
expires 7d;
add_header Cache-Control "public";