v1.0.2
Wygląd
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user