changed css/js/html to 1y cache so lighthouse stops complaining
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ http {
|
|||||||
# Javascript and CSS files
|
# Javascript and CSS files
|
||||||
location ~* \.(?:css|js)$ {
|
location ~* \.(?:css|js)$ {
|
||||||
try_files $uri =404;
|
try_files $uri =404;
|
||||||
expires 1m;
|
expires 1y;
|
||||||
access_log off;
|
access_log off;
|
||||||
add_header Cache-Control "public";
|
add_header Cache-Control "public";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user