Link preload not working
-
My lighthouse score is around 62-65 on mobile and 92-95 on desktop and it suggested me to use link preloads for 5 font files. I read an article on the same and placed them right under the head tag of my child theme’s header.php file.
Even after several days both GTmetrix and pagespeed still didn’t show that issue as resolved! I tried tweaking the code but nothing works. Here is what I am currenntly using:
<link rel=”preload” href=”socicon.ttf” as=”font” type=”font/ttf” crossorigin=”anonymous”>
<link rel=”preload” href=”fontawesome-webfont.woff2″ as=”font” type=”font/woff2″ crossorigin=”anonymous”>
<link rel=”preload” href=”fa-solid-900.woff2″ as=”font” type=”font/woff2″ crossorigin=”anonymous”>
<link rel=”preload” href=”fa-brands-400.woff2″ as=”font” type=”font/woff2″ crossorigin=”anonymous”>
<link rel=”preload” href=”fa-regular-400.woff2″ as=”font” type=”font/woff2″ crossorigin=”anonymous”>The page I need help with: [log in to see the link]
- The topic ‘Link preload not working’ is closed to new replies.