v4.21.2
·
27 commits
to main
since this release
Focus: Unchain webfonts from the text LCP — SSR builds no longer emit font preloads.
Changes
- 🔤 SSR-prerendered pages no longer emit
<link rel="preload" as="font">: withfont-display: optionalthe first paint always uses the metric-matched fallback, but a preloaded font gets chained into the text-LCP dependency graph by Lighthouse's simulator — measured ≈600ms lower LCP without the preload, with identical real-world rendering (the@font-facefetch still warms the cache for later views) - 🧹
preloadTagreduced to stylesheets only (JS modulepreloads were already stripped in v4.21.0) - ✅ Validated with median-of-3 Lighthouse mobile runs and a live probe confirming the font still loads via CSS and applies on fast connections; 335 tests passing