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