[Resolved] Preload self hosted fonts?

Home Forums Support [Resolved] Preload self hosted fonts?

Home Forums Support Preload self hosted fonts?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1654856
    Annamari

    Hi,

    I’ve used this article in the documentation to host fonts locally: https://docs.generatepress.com/article/adding-local-fonts/

    How is it possible to add <link rel=preload> to improve Google Pagespeed Insights scores?

    Thank you,
    Annamari

    #1655142
    Elvin
    Staff
    Customer Support

    Hi there,

    You can try David’s answer here:
    https://generatepress.com/forums/topic/local-font-pagespeed-insights/#post-1534803

    Make sure to replace the font url to the url used by your site’s font.

    A wise man once said:
    "Have you cleared your cache?"

    #1655447
    Annamari

    Hi Elvin, perfect, thank you! (Tried to search for it earlier, but couldn’t find it…)

    #1658355
    Elvin
    Staff
    Customer Support

    No problem. glad you got it sorted. 🙂

    A wise man once said:
    "Have you cleared your cache?"

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