File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ AddType image/png png
53
53
AddType image/jpeg jpg
54
54
AddType image/jpeg jpeg
55
55
AddType image/webp webp
56
+ AddType image/avif avif
56
57
57
58
# SVG
58
59
AddType image/svg+xml svg
@@ -76,7 +77,7 @@ AddType application/xml xml
76
77
77
78
<IfModule mod_headers.c >
78
79
79
- <FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|js|css|swf|eot|ttf|otf|woff|woff2)$ >
80
+ <FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif| js|css|swf|eot|ttf|otf|woff|woff2)$ >
80
81
Header append Cache-Control public
81
82
</FilesMatch >
82
83
@@ -113,7 +114,7 @@ AddType application/xml xml
113
114
ExpiresByType application/javascript "access plus 1 year"
114
115
115
116
# Favicon, images, flash
116
- <FilesMatch \.(ico|gif|png|jpg|jpeg|swf|svg|webp)$ >
117
+ <FilesMatch \.(ico|gif|png|jpg|jpeg|swf|svg|webp|avif )$ >
117
118
ExpiresDefault "access plus 1 year"
118
119
</FilesMatch >
119
120
ExpiresByType image/gif "access plus 1 year"
@@ -122,6 +123,7 @@ AddType application/xml xml
122
123
ExpiresByType image/jpeg "access plus 1 year"
123
124
ExpiresByType image/svg+xml "access plus 1 year"
124
125
ExpiresByType image/webp "access plus 1 year"
126
+ ExpiresByType image/avif "access plus 1 year"
125
127
126
128
# Fonts
127
129
<FilesMatch \.(eot|ttf|otf|svg|woff|woff2)$ >
You can’t perform that action at this time.
0 commit comments