feat: Added a new cache policy to the homepage (#681)
This commit is contained in:
parent
b19ae505f0
commit
462183cdf1
|
|
@ -10,6 +10,11 @@ server {
|
||||||
autoindex on;
|
autoindex on;
|
||||||
autoindex_exact_size off;
|
autoindex_exact_size off;
|
||||||
autoindex_localtime on;
|
autoindex_localtime on;
|
||||||
|
|
||||||
|
etag on;
|
||||||
|
if_modified_since exact;
|
||||||
|
add_header Cache-Control "no-cache";
|
||||||
|
add_header Cache-Control "public, max-age=3600";
|
||||||
}
|
}
|
||||||
|
|
||||||
# API proxy
|
# API proxy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue