Preload key requests – Fonts


Google lighthouse is suggesting I preload one of my fonts which came with the theme
I used the preload tag below except brackets in my header but it didn’t work

(<link rel=”preload” href=”/wp-content/themes/oceanwp/assets/fonts/simple-line-icons/Simple-Line-Icons.woff2?v=2.4.0″ as=”font” type=”font/woff2?v=2.4.0″ crossorigin>)


Try this way

 <link rel="preload" href="" as="font" type="font/woff2" crossorigin>
1 Like

thanks i fixed it!