Support » Plugin: OMGF | Host Google Fonts Locally » [NSFW] Page Size Doubles

  • soltero

    (@soltero)


    Hello, my page size jumped to over double, my score increased but the speed is the same or worse. I am only using “Lato” Does the plugin need to call in every single downloaded font even if not used on that page?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Yes and no. Let me try to explain.

    OMGF is built with performance and UX philosophies in mind. One UX/Design principle is to not use different fonts on different pages. Instead, you should pick one set of fonts and use that throughout all your pages.

    So, this means that if you do have a font that appears e.g. only on one page and OMGF would detect it, it will include it in its stylesheet. But, if the font isn’t used on the page your browser shouldn’t request it. So it shouldn’t be loaded.

    Hope this clarifies things.

    soltero

    (@soltero)

    @daanvandenbergh

    I see, but my issue is that this statement is false, at least on my website?

    if the font isn’t used on the page your browser shouldn’t request it. So it shouldn’t be loaded.

    It is still loading in fonts not used, like I said, I only use Lato, and the page does not use italics yet the Lato italic fonts are still loading in.

    https://i.imgur.com/kLDQCIJ.png

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi!

    Sorry for never getting back to you. I just wanted to let you know that OMGF v4 contains improved handling of stylesheets and serving of fonts. You could try it out and see if that resolves your issue.

    Let me know how it goes!

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