Enable caching for fonts
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:
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
, multiple selections available,
Related content
[caching] Custom fonts not being cached [5.2.2-B1]
[caching] Custom fonts not being cached [5.2.2-B1]
More like this
[caching] Memcache issues
[caching] Memcache issues
More like this
[caching] Parallel cache rebuild problem could cause high server load
[caching] Parallel cache rebuild problem could cause high server load
More like this
In-browser code highlight [5.3.0-B1]
In-browser code highlight [5.3.0-B1]
More like this
1.3. Site Configs
1.3. Site Configs
More like this
Requests to ".map" files with Mod-Rewrite enable are passed to PHP [5.2.2-B1]
Requests to ".map" files with Mod-Rewrite enable are passed to PHP [5.2.2-B1]
More like this