I noticed when I loaded my personal site without cache, my text would first display without the correct font. It eventually restyle using the original font after everything loaded. I was originally using a NPM package called typeface-roboto to load ...

Markdown supported · ⌘↵ to post
Just be aware it might affect your loading times. Block makes it load longer, that's what swap is actually for.
There’s no harm in doing that. Many websites follow this step to avoid typography flickering.
Thanks for sharing how it’s done.
Dinys Monvoisin
Software developer, JavaScript Euthusiasts, Inspiring Blogger
I was having the same issue without knowing how to fix it, thanks for the tip. Here is the page, if you want to have a look.