Documentation Menu↓
Issue Reports
How to Optimize Core Web Vitals
Fixing loading speeds, layout shifts, and script execution delays.
Difficulty:
|Advanced
Est: 11 mins
|Updated July 2026
Overview
Core Web Vitals are Google's speed metrics that evaluate page performance:
- Largest Contentful Paint (LCP): Measures loading performance (aim for <2.5 seconds).
- Interaction to Next Paint (INP): Measures page responsiveness (aim for <200ms).
- Cumulative Layout Shift (CLS): Measures visual stability (aim for <0.1).
Detection Logic
CrawlSage queries the Google Chrome UX Report (CrUX) API and uses Lighthouse tests to calculate these metrics.
How to Fix
- **LCP:** Defer non-critical scripts, compress images, and use modern formats like WebP or AVIF.
- **CLS:** Set explicit width and height dimensions on all images and video tags.
- **INP:** Reduce JavaScript execution payloads and defer heavy tracking scripts.
Visual layout stability
Always reserve spacing for dynamic banners to prevent layout shifts when scripts finish loading.
Frequently Asked Questions
- Are Core Web Vitals ranking signals?
Yes, Google uses these metrics to rank pages, prioritizing fast, visually stable websites.
Related Guides
Related Guides
Was this page helpful to your workflow?