- This topic has 2 replies, 2 voices, and was last updated 2 years, 10 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
When I run the Google speed test I get a warning about "Preload key requests"
The message says that I should use <link rel=preload> on this font: roboto-medium-latin.woff2
The strange thing is that I added this code to the header of every page (via Customize page):
<link rel=”preload” as=”font” type=”font/woff2″ href=”https://www.fabionodariphoto.com/wp-content/themes/magazine-pro/fonts/roboto-medium-latin.woff2″ crossorigin>
<link rel="preconnect" href="https://www.fabionodariphoto.com/wp-content/themes/magazine-pro/fonts/roboto-medium-latin.woff2" crossorigin>
Not sure if I'm missing something or this is a bug of Google. I tried removing the preconnect line and only include the preload code but nothing changes. Also putting first preconnect and then preload doesn't change a thing.
The strange thing is that this error seems to come and go. It doesn't appear all the time, at least when I tested it.
Hope you guys can help. Is not a big deal I know but it's driving me crazy.
all the fonts are hosted on my website
© 2022 WPEngine, Inc.