Skip to content

Commit 1e5cf5b

Browse files
authored
Update .htaccess
1 parent 760ab36 commit 1e5cf5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pub/static/.htaccess

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ AddType image/jpeg jpg
5151
AddType image/jpeg jpeg
5252
AddType image/webp webp
5353
AddType image/avif avif
54+
AddType image/avif-sequence avifs
5455

5556
# SVG
5657
AddType image/svg+xml svg
@@ -74,7 +75,7 @@ AddType application/xml xml
7475

7576
<IfModule mod_headers.c>
7677

77-
<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|js|css|swf|eot|ttf|otf|woff|woff2|html|json)$>
78+
<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs?|js|css|swf|eot|ttf|otf|woff|woff2|html|json)$>
7879
Header append Cache-Control public
7980
</FilesMatch>
8081

@@ -123,6 +124,7 @@ AddType application/xml xml
123124
ExpiresByType image/svg+xml "access plus 1 year"
124125
ExpiresByType image/webp "access plus 1 year"
125126
ExpiresByType image/avif "access plus 1 year"
127+
ExpiresByType image/avif-sequence "access plus 1 year"
126128

127129
# Fonts
128130
<FilesMatch \.(eot|ttf|otf|svg|woff|woff2)$>

0 commit comments

Comments
 (0)