• Resolved Andis


    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 and AddOutputFilterByType directive uses different types from ExpiresByType 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)
  • You must be logged in to reply to this topic.