Performance
Core Web Vitals monitoring, Lighthouse CI, and the performance budget checker.
Performance
Performance is a feature. WordSafe monitors every page load and blocks regressions before they ship.
Real-user monitoring (RUM)
Every visit reports Core Web Vitals — LCP, INP, CLS — plus TTFB and FCP. Dashboard: Performance → RUM.
Filter by page, device, country, connection type. p75 by default (matches Google's ranking signal).
Lighthouse CI
Runs on every deploy against your top 10 pages. Fails the deploy if:
- Performance score drops >5 points
- LCP > 2.5 s (mobile)
- CLS > 0.1
Configure under Settings → Performance → Budgets.
Bundle diff
Every deploy shows a JS/CSS diff vs the last one. Widgets or plugins that add >10 KB gzip flag a warning.
Image optimization
Every image served as WebP + AVIF via <picture> with responsive srcset. Lazy-loaded by default (loading="lazy" + decoding="async").
Edge caching
HTML: SWR 5 s fresh / 24 h stale. Static: immutable, fingerprinted URLs. Purge is automatic on publish.
