slow load of font/image on home load
Hi when I enabled recommended settings in the performance tab of the theme options I'm still seeing my fonts not appear for a split second, in addition to the main banner image on my site. Any way to make the page load everything all at once more nicely? I don't like that short flash where it doesn't load the fonts, etc.
Comments
Hi,
This is due to the property
font-display:swap
, which is the recommended practice by Google.You can read more about it here:
https://web.dev/articles/font-best-practices
There is no setting to change that.
Best regards
So no fix for this?
No, there is a fix for that, because it is intended and expected behaviour, so the website would meet Google requirements and have better performance.
If you check websites with PageSpeed Insights that do not have this parameter, PageSpeed would throw a warning about that.
https://www.fasterize.com/en/pagespeed-insight-optimize-your-fonts-for-the-webperf/
Best regards
Sorry I'm not sure I'm interpreting what the solution is here or if it's already applied in the theme? Do you see the stall on my font when you load the page in incognito?
Indeed, the styles load and system fonts load at first glance, but it occurs only for a fraction of a second.
The best solution recommended by Google has already been applied in the theme by using
font-display: swap
the property. Did you check the links I sent in my previous messages?Best regards