Archived topic
Ensure fonts remains visible during webfont load - the AMP version
5 replies · Started by Antoinette on January 13, 2021
Hey folks,
This might not be something you can help with, but thought I'd ask so long just in case. We run in AMP Standard Mode using the official AMP Plugin (with the Generatepress for AMP Plugin set up too). I'm suffering from a severe case of the dreaded "ensure fonts remains visible during webfont load" page speed criticism.
I've tried switching the icon from Font to SVG and have tried a few combos using Litespeed cache but I am now defeated. From looking at the source code, I THINK this is an AMP issue - however, it might also be a conflict with GP resources in Standard Mode, in which case, maybe this niggle is helpful :-)
Also just want to rule out that some php code snippet didn't go rogue when I imported the fonts we use and just want to confirm that I've closed all the CSS brackets as they should be.
Homepage URL in the magic box :-)
Hi there,
I just ran your site through Pagespeed Insights and I'm not seeing that issue listed at the moment - did you get it sorted? Or maybe it's only happening on a specific page?
Let me know :)
I've added a link I tested this morning in the private box :-)
It's still there - albeit a bit lower prevalence since I had to change the header to rule out another issue. The font faces that's registering as "render blocking" are the two we use on the site.
If you change the Icon Type option to SVG in "Customize > General", the generatepress.woff file will go away.
For the Google Fonts, this should help: https://generatepress.com/forums/topic/google-fonts-gp/#post-1411462
Ah, sorry, I changed the icon as part of testing the ongoing RSS feed images issues. Switched it back and added that filter (which I hadn't before - because that's how it is set on Litespeed cache too).... not working :(
I'm no longer seeing the webfont notice: https://www.screencast.com/t/lHgppT95ny