Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In the currentĀ .htaccess file we have special directives to cache all assets (javascript. stylesheets, images, icons) for 1 month. I think we also need to include font files in that list by adding following to theĀ <IfModule mod_expires.c> block:

No Formatcode
languagenone
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/x-font-opentype "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType application/x-font-ttf "access plus 1 month"
ExpiresByType application/font-woff "access plus 1 month"

Related

...

Discussions