guides
Passing Core Web Vitals (LCP, INP, CLS) Automatically
A deep dive into how Nimbica optimizes Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS) automatically.
The Core Web Vitals Challenge on Dynamic WordPress
Standard WordPress sites often struggle with Google's Core Web Vitals benchmarks due to heavy PHP execution, render-blocking third-party scripts, and un-optimized image assets.
1. Largest Contentful Paint (LCP)
Nimbica slashes LCP times below 1.2s through three automated mechanisms:
- Sub-50ms TTFB: Serving pre-compiled static HTML directly from the edge eliminates origin server response delays.
- Priority Image Pre-loading: Hero images are automatically detected, converted to AVIF/WebP, and preloaded with
fetchpriority="high". - Local Font Hosting: Google Fonts are bundled locally into modern
.woff2files withfont-display: swapto eliminate FOIT (Flash of Invisible Text).
2. Interaction to Next Paint (INP)
Nimbica defers non-critical JavaScript execution and minifies scripts so the browser main thread remains unblocked and responsive to user taps and clicks.
3. Cumulative Layout Shift (CLS)
Nimbica automatically injects explicit width and height attributes onto all image, video, and iframe elements, guaranteeing a 0.00 CLS score.
Was this documentation page helpful?
Last updated on 2026-09-07
