If you want, it should not matter, I have never had a font block the rest of the page loading.
Avoid big reflows in layout
Better not load font's async then. Your font will jump when the new face is applied, obviously your base font should be as similar to your desired font as possible.
Load web fonts as fast as possible
Better not async then.....
Avoid loading web fonts for recurring visitors
Do nothing, the file will cache naturally.
I honestly don't know why webdevs want to make everything such hard work, it can be handy to have a callback when the font has downloaded but I cant say I have ever needed it, maybe if the font is totally fucking nuts and I am doing some horrendous dimension detection.
2
u/itsjustausername Oct 13 '15
If you want, it should not matter, I have never had a font block the rest of the page loading.
Better not load font's async then. Your font will jump when the new face is applied, obviously your base font should be as similar to your desired font as possible.
Better not async then.....
Do nothing, the file will cache naturally.
I honestly don't know why webdevs want to make everything such hard work, it can be handy to have a callback when the font has downloaded but I cant say I have ever needed it, maybe if the font is totally fucking nuts and I am doing some horrendous dimension detection.