|
32 | 32 |
|
33 | 33 | <IfModule mod_setenvif.c>
|
34 | 34 | <IfModule mod_headers.c>
|
35 |
| - <FilesMatch "\.(gif|ico|jpe?g|png|svgz?|webp)$"> |
| 35 | + <FilesMatch "\.(cur|gif|ico|jpe?g|png|svgz?|webp)$"> |
36 | 36 | SetEnvIf Origin ":" IS_CORS
|
37 | 37 | Header set Access-Control-Allow-Origin "*" env=IS_CORS
|
38 | 38 | </FilesMatch>
|
@@ -92,7 +92,7 @@ Options -MultiViews
|
92 | 92 | Header set X-UA-Compatible "IE=edge"
|
93 | 93 | # `mod_headers` can't match based on the content-type, however, we only
|
94 | 94 | # want to send this header for HTML pages and not for the other resources
|
95 |
| - <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> |
| 95 | + <FilesMatch "\.(appcache|crx|css|cur|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> |
96 | 96 | Header unset X-UA-Compatible
|
97 | 97 | </FilesMatch>
|
98 | 98 | </IfModule>
|
@@ -159,6 +159,7 @@ Options -MultiViews
|
159 | 159 | AddType application/x-xpinstall xpi
|
160 | 160 | AddType application/xml atom rdf rss xml
|
161 | 161 | AddType image/webp webp
|
| 162 | + AddType image/x-icon cur |
162 | 163 | AddType text/cache-manifest appcache manifest
|
163 | 164 | AddType text/vtt vtt
|
164 | 165 | AddType text/x-component htc
|
@@ -270,7 +271,7 @@ AddDefaultCharset utf-8
|
270 | 271 |
|
271 | 272 | # <IfModule mod_headers.c>
|
272 | 273 | # Header set Content-Security-Policy "script-src 'self'; object-src 'self'"
|
273 |
| -# <FilesMatch "\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> |
| 274 | +# <FilesMatch "\.(appcache|crx|css|cur|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svgz?|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$"> |
274 | 275 | # Header unset Content-Security-Policy
|
275 | 276 | # </FilesMatch>
|
276 | 277 | # </IfModule>
|
@@ -458,7 +459,7 @@ FileETag None
|
458 | 459 | ExpiresByType application/xml "access plus 0 seconds"
|
459 | 460 | ExpiresByType text/xml "access plus 0 seconds"
|
460 | 461 |
|
461 |
| - # Favicon (cannot be renamed!) |
| 462 | + # Favicon (cannot be renamed!) and cursor images |
462 | 463 | ExpiresByType image/x-icon "access plus 1 week"
|
463 | 464 |
|
464 | 465 | # HTML components (HTCs)
|
|
0 commit comments