Inconsistencies in generated .htaccess file
-
I was troubleshooting minor browser caching issues and noticed inconsistencies in the generated .htaccess file. Namely MIME types for font files but there might be more.
For one, WOFF font types are not defined using
AddType
directive andAddOutputFilterByType
directive uses different types fromExpiresByType
directive (e.g.: application/x-font-woff =/= application/font-woff)Besides, the
application/
* types are now considered deprecated and there is a new top-level font media type defined in RFC8081 since 2017.
Here’s a list of font media types registered with IANA.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Inconsistencies in generated .htaccess file’ is closed to new replies.