Leverage the font-display CSS
-
How to fix this problem wit Leverage? This is error from Google Page Speed: Ensure text remains visible during webfont load
…fonts/entypo-fontello.woff (domain.com) 180 ms …caos-webfonts/pxiEyp8kv….woff2 (domain.com) 180 ms …caos-webfonts/pxiByp8kv….woff2 (domain.com) 180 ms …caos-webfonts/pxiByp8kv….woff2 (domain.com)
I have this in my .httacess for Leverage browser:
## BEGIN Leverage Browser Caching (Expires Caching) ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/x-icon "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType application/javascript "access 1 month" ExpiresByType application/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-opentype "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresDefault "access 2 days" </IfModule> ## END Leverage Browser Caching (Expires Caching) ## # Fonts # Add correct content-type for fonts <IfModule mod_expires.c> AddType application/vnd.ms-fontobject .eot AddType application/x-font-ttf .ttf AddType application/x-font-opentype .otf AddType application/x-font-woff .woff AddType image/svg+xml .svg </IfModule> ## END Fonts ##
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Leverage the font-display CSS’ is closed to new replies.