no cache for *.json
This commit is contained in:
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…
Reference in New Issue