Answer the question
In order to leave comments, you need to log in
How to set up browser caching for fonts?
There are two fonts: fonts/themegrill-icons.woff2 and fonts/fontawesome-webfont.woff2
I just can't set up caching for them, it worked with the rest.
What do I need to add to .htaccess?
Answer the question
In order to leave comments, you need to log in
Add new MIME types to config:
AddType application/font-woff woff
AddType application/font-woff2 woff2
ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/font-woff2 "access plus 1 month"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question