@@ -37,7 +37,6 @@ AddType application/javascript js jsonp
37
37
AddType application/json json
38
38
39
39
# HTML
40
-
41
40
AddType text/html html
42
41
43
42
# CSS
@@ -49,9 +48,12 @@ AddType image/gif gif
49
48
AddType image/png png
50
49
AddType image/jpeg jpg
51
50
AddType image/jpeg jpeg
51
+ AddType image/webp webp
52
+ AddType image/avif avif
53
+ AddType image/avif-sequence avifs
52
54
53
55
# SVG
54
- AddType image/svg+xml svg
56
+ AddType image/svg+xml svg svgz
55
57
56
58
# Fonts
57
59
AddType application/vnd.ms-fontobject eot
@@ -60,8 +62,8 @@ AddType application/x-font-otf otf
60
62
AddType application/x-font-woff woff
61
63
AddType application/font-woff2 woff2
62
64
63
- # Flash
64
- AddType application/x-shockwave-flash swf
65
+ # Manifest
66
+ AddType application/manifest+json webmanifest
65
67
66
68
# Archives and exports
67
69
AddType application/zip gzip
@@ -72,7 +74,7 @@ AddType application/xml xml
72
74
73
75
<IfModule mod_headers.c >
74
76
75
- <FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|js|css|swf| eot|ttf|otf|woff|woff2|html|json)$ >
77
+ <FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs| js|css|eot|ttf|otf|woff|woff2|html|json|webmanifest )$ >
76
78
Header append Cache-Control public
77
79
</FilesMatch >
78
80
@@ -100,6 +102,12 @@ AddType application/xml xml
100
102
ExpiresByType application/zip "access plus 0 seconds"
101
103
ExpiresByType application/x-gzip "access plus 0 seconds"
102
104
ExpiresByType application/x-bzip2 "access plus 0 seconds"
105
+
106
+ # Manifest
107
+ <FilesMatch \.(webmanifest)$ >
108
+ ExpiresDefault "access plus 0 seconds"
109
+ </FilesMatch >
110
+ ExpiresByType application/manifest+json "access plus 0 seconds"
103
111
104
112
# CSS, JavaScript, html
105
113
<FilesMatch \.(css|js|html|json)$ >
@@ -111,14 +119,17 @@ AddType application/xml xml
111
119
ExpiresByType application/json "access plus 1 year"
112
120
113
121
# Favicon, images, flash
114
- <FilesMatch \.(ico|gif|png|jpg|jpeg|swf| svg)$ >
122
+ <FilesMatch \.(ico|gif|png|jpg|jpeg|svg|svgz|webp|avif|avifs )$ >
115
123
ExpiresDefault "access plus 1 year"
116
124
</FilesMatch >
117
125
ExpiresByType image/gif "access plus 1 year"
118
126
ExpiresByType image/png "access plus 1 year"
119
127
ExpiresByType image/jpg "access plus 1 year"
120
128
ExpiresByType image/jpeg "access plus 1 year"
121
129
ExpiresByType image/svg+xml "access plus 1 year"
130
+ ExpiresByType image/webp "access plus 1 year"
131
+ ExpiresByType image/avif "access plus 1 year"
132
+ ExpiresByType image/avif-sequence "access plus 1 year"
122
133
123
134
# Fonts
124
135
<FilesMatch \.(eot|ttf|otf|svg|woff|woff2)$ >
@@ -129,5 +140,7 @@ AddType application/xml xml
129
140
ExpiresByType application/x-font-otf "access plus 1 year"
130
141
ExpiresByType application/x-font-woff "access plus 1 year"
131
142
ExpiresByType application/font-woff2 "access plus 1 year"
143
+ ExpiresByType font/opentype "access plus 1 year"
144
+ ExpiresByType font/truetype "access plus 1 year"
132
145
133
146
</IfModule >
0 commit comments