I’m optimizing my site indoor2outdoor.com and cannot pass the Google Page Speed "Preload key requests" check. Namely, Google points to preloading fonts. I added all the fonts that are used on the page for preloading, but the error persists. Checking the page in Webpagetest or GTmetrix shows that the same fonts are loaded twice for some reason. I cannot understand why this is so. Could you suggest how can I see which page elements/blocks are loading fonts? Also, I will also be grateful for any help in resolving this issue.
Do you have a link to a test result? Loading twice is usually because of crossorigin. You need to add crossorigin to font preloads if they are coming from a different domain otherwise the preloaded version can’t be used.
They also need to have the same version number/query suffixed to the URL. That’s probably what’s happening here, if you are referring to the /wp-content/themes/disto/css/fonts/fontawesome-webfont.woff2 request that’s preloaded.
Thanks, guys. Seems like specifying the font version helped. But another question arose. I don’t understand why there is a loading gap between 1.4 and 1.7 sec. Could it also be related to font loading? I thought when redownloading of fonts was eliminated, the next downloads would shift in time …
I also enabled Rocket Loader in Cloudflare, which seemed to give some page speed up. But maybe because of this the gap appeared?
Could you help with this please as well?
Here is the link to a test result