no cache for *.json

master
Ulric Qin 4 years ago
parent d4adafbcb7
commit 250dd0c92d

@ -107,7 +107,7 @@ http {
try_files $uri /layout/index.html; try_files $uri /layout/index.html;
} }
location ~ .*(.htm|.html|manifest.json)$ { location ~ .*(.htm|.html|.json)$ {
add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate"; add_header Cache-Control "private, no-store, no-cache, must-revalidate, proxy-revalidate";
} }

Loading…
Cancel
Save