M
M
MegaPuxapb2019-06-26 14:03:52
css
MegaPuxapb, 2019-06-26 14:03:52

Speed ​​up font loading with google font?

When loading the page, the attic moves out for a split second (loading fonts).
It can be seen with a hard reboot, with clearing the cache.
q665588f.beget.tech/doors8
can I speed it up somehow? or how to solve it differently?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rustam Bainazarov, 2019-06-26
@MegaPuxapb

If you need the browser to wait for the font to load and only then show the text, then put this in @font-face:
But (!!!) I don’t advise you to do this, your site loads quickly and well, the content appears almost instantly, why worsen. 300 ms of time when the wrong font is displayed is complete garbage. It is much more important that your first site content loads quickly. But if the client wants it, then it will help.
And you will not increase the speed of loading and processing fonts with Google Fonts CDN.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question