Skip to content

Commit 48debe6

Browse files
committed
Added Max Age for Apache web server
1 parent bc2f3f6 commit 48debe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pub/static/.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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, immutable"
78+
Header append Cache-Control "public, max-age=31536000, immutable"
7979
</FilesMatch>
8080

8181
<FilesMatch .*\.(zip|gz|gzip|bz2|csv|xml)$>

0 commit comments

Comments
 (0)