W
e
b
f
o
n
t
s
Web fonts
• 🌱 Seedling • 1 min read
- Self host fonts. Cross-domain caching doesn't work so you're better off hosting closer to the rest of your site instead of leaning on Google or whoever's CDNs. 1
- Use
font-display: optional;
. This only loads a font if the browser deems it can be loaded quickly. 1
References
- https://www.industrialempathy.com/posts/high-performance-web-font-loading/↩