I'm trying to preload two fonts hosted on my site. I received the following message in Google's Lighthouse:
Consider using <link rel=preload> to prioritize fetching late-discovered resources sooner:
/fonts/bowlbyone-regular-webfont.woff2
/fonts/raleway-light-webfont.woff2
I added the following code directly above the </header> on each html page:
<link rel="preload" href="/fonts/bowlbyone-regular-webfont.woff2" as="font">
<link rel="preload" href="/fonts/raleway-light-webfont.woff2" as="font">
But, I'm still receiving the Lighthouse message to preload the woff2 fonts. Any suggestions? Thanks!