What Are Core Web Vitals?
Core Web Vitals are Googleβs standardized metrics for measuring user experience on the web. Theyβre critical for both traditional SEO and AI search visibility because fast, stable pages provide better data for AI platforms to crawl and cite.AI Search Impact: AI platforms prioritize fast-loading, well-performing sites when selecting sources to cite. Poor Core Web Vitals can hurt your visibility.
The Three Core Web Vitals
1. Largest Contentful Paint (LCP)
What it measures: Loading performance - how long it takes for the main content to load. Target: β Good: β€ 2.5 seconds | β οΈ Needs Improvement: 2.5-4.0s | β Poor: > 4.0sOptimize images
Optimize images
Images are the most common LCP element:Use modern formats:Compress images:
- Use tools like TinyPNG, ImageOptim, or Squoosh
- Target: < 100KB for hero images
- Use appropriate dimensions (donβt load 4K images)
Improve server response time
Improve server response time
Faster server = faster LCP:Use a CDN:Optimize database queries:
- Cloudflare, Fastly, or AWS CloudFront
- Serve content from locations near users
- Use indexes
- Cache frequent queries
- Use connection pooling
Remove render-blocking resources
Remove render-blocking resources
CSS and JavaScript can block page rendering:Inline critical CSS:Defer non-critical JavaScript:
Optimize web fonts
Optimize web fonts
Fonts can significantly impact LCP:
2. First Input Delay (FID)
What it measures: Interactivity - how quickly the page responds to user interactions. Target: β Good: β€ 100ms | β οΈ Needs Improvement: 100-300ms | β Poor: > 300msReduce JavaScript execution time
Reduce JavaScript execution time
Heavy JavaScript blocks the main thread:Code splitting:Use web workers:
Break up long tasks
Break up long tasks
Tasks over 50ms block interactivity:
Minimize third-party code
Minimize third-party code
Third-party scripts can hurt FID:Audit third-party scripts:
- Remove unused analytics/tracking
- Load non-critical scripts asynchronously
- Use facade patterns for heavy widgets
3. Cumulative Layout Shift (CLS)
What it measures: Visual stability - how much content shifts unexpectedly during loading. Target: β Good: β€ 0.1 | β οΈ Needs Improvement: 0.1-0.25 | β Poor: > 0.25Reserve space for images and embeds
Reserve space for images and embeds
Always specify dimensions to prevent layout shifts:For responsive images:
Reserve space for dynamic content
Reserve space for dynamic content
Prevent shifts from loading content:CSS for skeleton screens:
Avoid invisible text during font loading
Avoid invisible text during font loading
Use font-display to prevent layout shifts:
Don't inject content above existing content
Don't inject content above existing content
Avoid adding content that pushes down existing content:
Reserve space for ads
Reserve space for ads
Ads are common CLS culprits:
Additional Performance Metrics
Time to First Byte (TTFB)
How quickly your server responds: Target: β Good: β€ 800ms | β Poor: > 1800ms Improvements:- Use a CDN
- Enable server caching
- Optimize database queries
- Use faster hosting
- Enable HTTP/2 or HTTP/3
Total Blocking Time (TBT)
Time when the main thread is blocked: Target: β Good: β€ 200ms | β Poor: > 600ms Improvements:- Minimize JavaScript
- Code splitting
- Defer non-critical scripts
- Use web workers
Speed Index
How quickly content is visually displayed: Target: β Good: β€ 3.4s | β Poor: > 5.8s Improvements:- Optimize critical rendering path
- Lazy load below-the-fold content
- Use progressive image loading
Performance Optimization Checklist
LCP Optimization
- β Compress and optimize images
- β Use modern image formats (WebP, AVIF)
- β Enable CDN
- β Defer non-critical CSS/JS
- β Optimize server response time
FID Optimization
- β Minimize JavaScript execution
- β Break up long tasks
- β Use code splitting
- β Remove unused third-party code
- β Use web workers for heavy tasks
Testing Core Web Vitals
Google PageSpeed Insights
Test any URL and get specific recommendations
pagespeed.web.dev
Chrome DevTools
Use Lighthouse in Chrome DevTools for detailed analysis
Search Console
View real-user Core Web Vitals data in Google Search Console
WebPageTest
Advanced testing with detailed waterfall charts
webpagetest.org
Real User Monitoring (RUM)
Track Core Web Vitals from real users:Performance Budget
Set performance budgets to maintain good metrics:Common Optimization Priorities
π΄ High Priority - LCP Improvements
Optimize Images
Convert to WebP, compress, add dimensions
Typical Impact: -1.0s to -1.5s
Enable CDN
Use Cloudflare or similar CDN service
Typical Impact: -0.3s to -0.8s
Defer JavaScript
Load non-critical JS after main content
Typical Impact: -0.2s to -0.5s
Optimize Server
Improve hosting, enable caching
Typical Impact: -0.2s to -0.4s
π‘ Medium Priority - CLS Improvements
Add Image Dimensions
Specify width/height on all images
Typical Impact: -0.05 to -0.08
Reserve Ad Space
Pre-allocate space for dynamic content
Typical Impact: -0.03 to -0.06
Font Loading
Use font-display: swap
Typical Impact: -0.01 to -0.03
β Maintaining Good FID
Keep FID scores low by:- Minimizing JavaScript execution
- Using code splitting
- Loading third-party scripts asynchronously
- Utilizing web workers for heavy tasks
Tools and Resources
Performance Analysis
Image Optimization Tools
- ImageOptim (Mac) - Desktop image optimizer
- Squoosh - Web-based image compressor
- Sharp (Node.js) - Automated image processing
- Cloudinary/Imgix - Image CDN with automatic optimization
Monitoring Services
- Google Search Console - Free real-user Core Web Vitals data
- Cloudflare Analytics - Free with Cloudflare CDN
- Vercel Analytics - For Next.js/Vercel deployments
- New Relic/Datadog - Enterprise monitoring
Impact on AI Search
Why performance matters for AI:
- π€ AI crawlers prioritize fast, accessible sites
- π Better UX signals = higher trust scores
- β‘ Faster sites get crawled more frequently
- π― Performance is a ranking factor for citations
- π° Better conversion from AI-driven traffic
Monitor with Lantern
Track how performance improvements affect your AI search visibility:- π Correlation between Core Web Vitals and AI citations
- π Compare performance vs. competitors
- β±οΈ Track performance trends over time
- π― Get alerts for performance regressions
Next Steps
Back to Technical Optimization
Review all technical optimization guides
