Support » Plugin: LiteSpeed Cache » Customize Keyword Preloading

  • Resolved Elena Shikova


    Hello! How I can Customize Keyword Preloading my own font? I insetr in header.php this code

    <link rel="preload" as="font" href="" type="font/ttf" crossorigin="">

    but it doesn’t work. I insert code after tag head, but I find it after critical css, before tag title.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk



    I usually go with .htaccess, directive like this ought do it

    Header add Link "</wp-content/xxx/xxx/xxxr.ttf>; rel=preload; as=font; crossorigin"

    Best regards,

    Thread Starter Elena Shikova


    Thanks? it work very well. You are genius

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize Keyword Preloading’ is closed to new replies.