changed css/js/html to 1y cache so lighthouse stops complaining

This commit is contained in:
ahmza
2022-01-15 12:58:25 +00:00
parent a2f2461025
commit 5084b7d57e
+1 -1
View File
@@ -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";
} }