File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,9 @@ location /media/ {
166166 }
167167
168168 location ~* \.(ico|jpg|jpeg|png|gif|svg|svgz|webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2)$ {
169- add_header Cache-Control "public, max-age=31536000, immutable ";
169+ add_header Cache-Control "public";
170170 add_header X-Frame-Options "SAMEORIGIN";
171+ expires +1y;
171172 try_files $uri $uri/ /get.php$is_args$args;
172173 }
173174 location ~* \.(zip|gz|gzip|bz2|csv|xml)$ {
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ AddType application/xml xml
7575<IfModule mod_headers.c >
7676
7777 <FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs|js|css|eot|ttf|otf|woff|woff2|html|json|webmanifest)$ >
78- Header append Cache-Control public
78+ Header append Cache-Control " public, immutable"
7979 </FilesMatch >
8080
8181 <FilesMatch .*\.(zip|gz|gzip|bz2|csv|xml)$ >
You can’t perform that action at this time.
0 commit comments