Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @prok444

    Thank you for your inquiry and I am happy to assist you with this.
    Unfortunately, W3 Total Cache does not have the ability to preload fonts at the moment. We are considering to implement the feature in the future.
    You can do it manually and directly edit the header.php of your child theme.
    So in your header, you should add:
    <link rel="preload" href="fonts/somefont.woff2" as="font" type="font/woff2" crossorigin="anonymous">
    Please note that this is just an example and you need to edit the code accordingly with the path to the font and the font type. So make sure that if you are preloading href=”fonts/somefont.woff2″ the type= needs to match the font in this case woff2.
    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Preload key requests’ is closed to new replies.