Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Resolved] Preload key requests

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Preload key requests

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21802
    Rolandas
    Participant

    Hi

    Google PageSpeed Insights test result:
    Opportunity > Preload key requests >

    URL …fonts/wp-show-posts.ttf?ka575c(www.sisla.lt) – Potential Savings 630 ms or 930 ms

    I use GP PRO.
    Is it possible to do anything?

    #21876
    David Beckwith
    Participant

    Hi there,

    you can try hooking a preload link into the WP_head hook:

    <link rel="preload" href="Font URL Showing in PageSpeed" as="font" crossorigin="anonymous">

    #21894
    Rolandas
    Participant

    Thanks David

    It seems to work 🙂
    I added Font ULR with a weird ending ?ka575c
    <link rel="preload" href="https://www.sisla.lt/wp-content/plugins/wp-show-posts-pro/fonts/wp-show-posts.ttf?ka575c" as="font" crossorigin="anonymous">

    If not added: ?ka575c
    Google PageSpeed Insights test result:
    Warnings: Lighthouse was unable to automatically check the font-display value for the origin https://www.sisla.lt.

    #22234
    David Beckwith
    Participant

    Glad to hear that!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.