In Pagespeed Insights Ich sehe immer wieder die Meldung Browser-Caching eines bestimmten iconset/font Ich verwende zu nutzen: iconFont.woff (2 Tage)Wie nutze ich das Browser-Caching von .woff-Fonts?
ich meine .htaccess gesetzt, wie so haben:
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType font/ttf "access 1 week"
ExpiresByType font/woff "access 1 week"
ExpiresByType image/jpg "access 1 month"
ExpiresByType image/jpeg "access 1 month"
ExpiresByType image/gif "access 1 month"
ExpiresByType image/png "access 1 month"
ExpiresByType text/css "access 1 week"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##
Trotzdem bekomme ich immer noch die gleiche Nachricht in PageSpeed Insights. Wie cache ich das richtig?
Vielleicht font/woff funktioniert nicht, versuchen Sie dies: http://stackoverflow.com/questions/3594823/mime-type-for-woff-fonts?rq=1 –