Increase cache duration
This commit is contained in:
parent
e3da36c7ba
commit
daf27f0f34
@ -30,8 +30,8 @@ server {
|
|||||||
|
|
||||||
location ~* \.(css|js)$ {
|
location ~* \.(css|js)$ {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
expires 1d;
|
expires 1m;
|
||||||
add_header Cache-Control "public, max-age=86400";
|
add_header Cache-Control "public, max-age=2628000";
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user