Hi, like many I’m looking into Core Web Vitals at the moment, and Page speed Insights is recommending I use <rel link=preload> for the fonts: https://titanicfacts.net/wp-content/themes/generatepress/assets/fonts/generatepress.woff2
I’ve added the following to the header…
<link rel=”preload” as=”font” href=”https://titanicfacts.net/wp-content/themes/generatepress/fonts/generatepress.woff2″ type=”font/woff2″ crossorigin=”anonymous”>
…but I’m guessing it is not getting picked up by Insights because it appears after the stylesheets are called…
<link rel=’stylesheet’ id=’generate-style-css’ href=’https://titanicfacts.net/wp-content/themes/generatepress/assets/css/all.min.css?ver=3.0.2′ media=’all’ />
<link rel=’stylesheet’ id=’generate-font-icons-css’ href=’https://titanicfacts.net/wp-content/themes/generatepress/assets/css/components/font-icons.min.css?ver=3.0.2′ media=’all’ />
Am I correct (I’m not a developer) and is there a recommended fix?
Many thanks
Dave