From 5084b7d57eb627511f5c05ffd200660fff028a02 Mon Sep 17 00:00:00 2001 From: ahmza Date: Sat, 15 Jan 2022 12:58:25 +0000 Subject: [PATCH] changed css/js/html to 1y cache so lighthouse stops complaining --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 0229a51..fb6c0a2 100644 --- a/nginx.conf +++ b/nginx.conf @@ -57,7 +57,7 @@ http { # Javascript and CSS files location ~* \.(?:css|js)$ { try_files $uri =404; - expires 1m; + expires 1y; access_log off; add_header Cache-Control "public"; }