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/ {
166
166
}
167
167
168
168
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";
170
170
add_header X-Frame-Options "SAMEORIGIN";
171
+ expires +1y;
171
172
try_files $uri $uri/ /get.php$is_args$args;
172
173
}
173
174
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
75
75
<IfModule mod_headers.c >
76
76
77
77
<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"
79
79
</FilesMatch >
80
80
81
81
<FilesMatch .*\.(zip|gz|gzip|bz2|csv|xml)$ >
You can’t perform that action at this time.
0 commit comments