Skip to content

v4.21.2

Choose a tag to compare

@rodrigoslayertech rodrigoslayertech released this 18 Jul 13:07
· 27 commits to main since this release
v4.21.2
b0f4fd4

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">: with font-display: optional the 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-face fetch still warms the cache for later views)
  • 🧹 preloadTag reduced 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