Skip to content

v4.21.6

Choose a tag to compare

@rodrigoslayertech rodrigoslayertech released this 19 Jul 00:27
· 42 commits to main since this release
v4.21.6
5fcc236

Focus: Roboto on first visit and canonical trailing-slash URLs.

Changes

  • 🔤 Switched the self-hosted Roboto faces from font-display: optional to font-display: fallback: without a font preload, Chrome's optional only consults the disk cache at style resolution, so first-time visitors kept the Arial-metric fallback and only saw Roboto after a reload — fallback swaps Roboto in when it arrives, with zero layout shift thanks to the size-adjusted metric fallback, while keeping the font out of Lighthouse's text-LCP dependency graph
  • 🔗 Canonical URLs: every prerendered page emits <link rel="canonical"> and a matching og:url in the trailing-slash form, consolidating the slash-less and slashed variants of a route into a single indexable page
  • 🗺️ Sitemap routes are listed in their canonical trailing-slash form (file-like paths such as llms.txt stay untouched), so the listed URLs never redirect
  • ✅ Verified with DevTools platform-font inspection (cold profile renders Roboto), median-of-3 Lighthouse runs (score/FCP/LCP/CLS unchanged) and sitemap/canonical specs; 337 tests passing