[Resolved] Loading Extra font in GTMetrix Waterfall

Home Forums Support [Resolved] Loading Extra font in GTMetrix Waterfall

Home Forums Support Loading Extra font in GTMetrix Waterfall

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1102903
    Suraj Katwal

    I was checking my site and saw extra font loading in GTMetrix Waterfall.

    In Customization > Typography. I am using Questrail font but GeneratePress.woff2 is loading.

    Is it a fallback font or Is there any case.

    Can I remove the extra font?

    Thank you

    View post on imgur.com

    #1102939
    Daniel

    You can switch to icon type SVG (Customizer -> General -> Icon Type SVG). Then, the font is not loaded.

    See also https://generatepress.com/forums/topic/svg-icons-what-does-that-mean-exactly/#post-924678

    #1103061
    David
    Staff
    Customer Support

    Thanks Daniel that will remove the font entirely 🙂

    #1103080
    Suraj Katwal

    Thank you Daniel & David. Works like a charm. So, what if we host font locally?
    Will it cause a problem in the future?

    #1103084
    David
    Staff
    Customer Support

    The generatepress.woff2 is served locally – the SVG method is the best route to go.

    The other google font you can of course serve locally if you want:

    https://docs.generatepress.com/article/adding-local-fonts/

    #1103093
    Suraj Katwal

    which is the best format to use while using font locally? woff or woff2?

    #1103599
    David
    Staff
    Customer Support

    WOFF2 has better compression but unlike WOFF is not supported by Internet Explorer.
    To use WOFF2 you would need to include a supported font type.

    #1103826
    Suraj Katwal

    Thanks

    #1104059
    David
    Staff
    Customer Support

    You’re welcome

    #1104303
    Suraj Katwal

    Just used Local fonts using only woff2.
    Do I need to use woff for Internet Explorer?
    Thank you

    #1104308
    David
    Staff
    Customer Support

    For IE 10 and 11 yes, WOFF will do.

    #1104349
    Bas

    You could take a look at Google Font Helper. You can download Google fonts and it gives you al the info needed to host fonts locally with support for various browsers.

    #1104359
    Suraj Katwal

    Thanks, I have already implemented Local Fonts on my website.

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