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 @@ -52,6 +52,7 @@ AddType image/gif gif
52
52
AddType image/png png
53
53
AddType image/jpeg jpg
54
54
AddType image/jpeg jpeg
55
+ AddType image/webp webp
55
56
56
57
# SVG
57
58
AddType image/svg+xml svg
@@ -75,7 +76,7 @@ AddType application/xml xml
75
76
76
77
<IfModule mod_headers.c >
77
78
78
- <FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2)$ >
79
+ <FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp| js|css|swf|eot|ttf|otf|woff|woff2)$ >
79
80
Header append Cache-Control public
80
81
</FilesMatch >
81
82
@@ -112,14 +113,15 @@ AddType application/xml xml
112
113
ExpiresByType application/javascript "access plus 1 year"
113
114
114
115
# Favicon, images, flash
115
- <FilesMatch \.(ico|gif|png|jpg|jpeg|swf|svg)$ >
116
+ <FilesMatch \.(ico|gif|png|jpg|jpeg|swf|svg|webp )$ >
116
117
ExpiresDefault "access plus 1 year"
117
118
</FilesMatch >
118
119
ExpiresByType image/gif "access plus 1 year"
119
120
ExpiresByType image/png "access plus 1 year"
120
121
ExpiresByType image/jpg "access plus 1 year"
121
122
ExpiresByType image/jpeg "access plus 1 year"
122
123
ExpiresByType image/svg+xml "access plus 1 year"
124
+ ExpiresByType image/webp "access plus 1 year"
123
125
124
126
# Fonts
125
127
<FilesMatch \.(eot|ttf|otf|svg|woff|woff2)$ >
You can’t perform that action at this time.
0 commit comments