• Resolved gsolidakis96

    (@gsolidakis96)


    Hey, I was checking out my website on gtmetrix and noticed that when loading the fonts it spends 300ms waiting. I have attached a screenshot. Is this normal?

    http://prntscr.com/urcz74

    Also each css?family has around 3 seconds wait time

    Thank you,

    George

    • This topic was modified 5 years, 8 months ago by gsolidakis96.

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

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

    (@daanvandenbergh)

    Hi!

    Those are the calls to OMGF’s Download API, which should only run the first time one of your pages loads. They can take a while, because the fonts have to be downloaded and the stylesheet needs to be generated.

    After that the stylesheet should be served out immediately for all your pages.

    Except when a page contains a Google Font, not on the other pages, then the Download API is called again (once) for that font.

    If your pages keep calling the API, even when your fonts are already downloaded, then that must be because the request is cached by your caching plugin or CDN. Just flush the cache of your caching plugin or CDN and that should do it.

Viewing 1 replies (of 1 total)

The topic ‘Waiting time when loading fonts’ is closed to new replies.