Browser & Web Performance · Senior · Question 75 of 75
Why doesn't loading a popular font from a public font CDN benefit from other sites' caches anymore?
- 1Font CDNs disable caching
- ✓Correct answer: Browsers partition the HTTP cache by top-level site, so a font cached on one site is downloaded again on yours
- 3Fonts can't be cached longer than one day
Explanation
The shared-cache argument is gone, while the extra connection to another origin remains. Self-hosting fonts is often faster.