Update mime type font/woff (#4894)

* Update mime type font/woff
https://www.rfc-editor.org/rfc/rfc8081
`application/font-woff*` is deprecated for `font/woff*`

* Order
This commit is contained in:
Alexandre Alapetite 2022-11-24 13:58:54 +01:00 committed by GitHub
parent 48c8ee574d
commit 50f293c346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -20,8 +20,6 @@ AddDefaultCharset UTF-8
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 month"
ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/font-woff2 "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/xhtml+xml "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"

View File

@ -1,6 +1,6 @@
<IfModule mod_mime.c>
AddType application/font-woff .woff
AddType application/font-woff2 .woff2
AddType font/woff .woff
AddType font/woff2 .woff2
AddCharset UTF-8 .css
AddCharset UTF-8 .svg
@ -8,8 +8,9 @@
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/json "access plus 1 month"
ExpiresByType font/woff "access plus 1 month"
ExpiresByType font/woff2 "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"