Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

AMP Fonts – Page Speed Insights

$
0
0

Replies: 0

Page speed insights is giving me an error for not incorporating the following rule. No matter what I’ve tried, hosting the fonts on my CDN, etc, I can’t get rid of this error in the audit.

Ensure text remains visible during webfont load
Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading. Learn more.

When you click on Learn more it advises to use the font-display rule:

@font-face {
font-family: ‘Arvo’;
font-display: auto;
src: local(‘Arvo’), url(https://fonts.gstatic.com/s/arvo/v9/rC7kKhY-eUDY-ucISTIf5PesZW2xOQ-xsNqO47m55DA.woff2) format(‘woff2’);
}

Any advice would be helpful please?


Viewing all articles
Browse latest Browse all 59525

Trending Articles