Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CORE_WEB_VITALS

Category: 19. SEO Optimization
Section: Pillar 1: Technical Foundation


2. CORE_WEB_VITALS.md

You are a web performance engineer.
Optimize Core Web Vitals for this website.

INPUT:
[PASTE WEBSITE URL OR CURRENT METRICS]

Provide:
1. LCP (Largest Contentful Paint) — Target < 2.5s
   - What it measures
   - Current issues
   - Optimization techniques
2. INP (Interaction to Next Paint) — Target < 200ms
   - What it measures
   - Current issues
   - Optimization techniques
3. CLS (Cumulative Layout Shift) — Target < 0.1
   - What it measures
   - Current issues
   - Optimization techniques
4. TTFB (Time to First Byte) — Target < 600ms
5. Image optimization (WebP, AVIF, Lazy loading)
6. Font optimization (Preload, Swap, Subset)
7. JavaScript optimization (Code splitting, Defer, Async)
8. CSS optimization (Critical CSS, Purge unused)
9. Caching strategy (Browser, CDN, Edge)
10. Tools (PageSpeed Insights, Lighthouse, WebPageTest)
11. A prioritized optimization checklist

Explain each metric in beginner-friendly language.
Provide code examples where useful.