Skip to main content

Google PageSpeed Insights

Content Plan

This document should cover using PageSpeed Insights for WordPress performance testing.

Planned Content

TL;DR

  • How to run a PSI test and interpret results
  • Key metrics to focus on (LCP, CLS, FID/INP)
  • When to use PSI vs other tools

What is PageSpeed Insights

  • Google's web performance analysis tool
  • Combines lab data (Lighthouse) with field data (CrUX)
  • Mobile vs Desktop scoring differences
  • How scores impact SEO and Core Web Vitals

Running a Test

  1. Navigate to https://pagespeed.web.dev/
  2. Enter the URL to test
  3. Understanding mobile vs desktop toggle
  4. Interpreting the overall score (0-100)

Understanding the Metrics

Core Web Vitals

MetricGoodNeeds ImprovementPoor
LCP (Largest Contentful Paint)≤2.5s2.5-4s>4s
FID (First Input Delay)≤100ms100-300ms>300ms
INP (Interaction to Next Paint)≤200ms200-500ms>500ms
CLS (Cumulative Layout Shift)≤0.10.1-0.25>0.25

Other Important Metrics

  • First Contentful Paint (FCP)
  • Time to First Byte (TTFB)
  • Speed Index
  • Total Blocking Time (TBT)

Lab Data vs Field Data

  • Lab data: Simulated test results (what you see in Lighthouse)
  • Field data: Real user measurements from Chrome users (CrUX)
  • Why they may differ
  • Which to prioritize for different decisions

Common WordPress Issues & Fixes

PSI DiagnosticTypical WordPress CauseSolution
Reduce unused JavaScriptTheme/plugin bloatDequeue unused scripts, use asset cleanup plugin
Reduce unused CSSTheme framework CSSPurgeCSS, asset optimization plugins
Serve images in next-gen formatsJPEG/PNG imagesEnable WebP/AVIF conversion
Properly size imagesMissing srcsetUse responsive images, regenerate thumbnails
Eliminate render-blocking resourcesUnoptimized CSS/JS loadingDefer JS, inline critical CSS
Reduce server response timeSlow hosting/no cacheEnable page caching, optimize database

Pre-Migration Testing Protocol

  1. Test homepage, key landing pages, and one blog post
  2. Document scores and metrics before migration
  3. Screenshot the full report
  4. Note any existing issues to address post-migration

Post-Optimization Verification

  1. Clear all caches before testing
  2. Run 3 tests and average the results
  3. Compare against pre-optimization baseline
  4. Document improvements for client reporting

Limitations

  • Lab tests don't account for user geography
  • Mobile throttling may not match real devices
  • Scores fluctuate between tests (±5 points normal)
  • Some recommendations don't apply to all sites