Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LHS/CWV Performance Runbooks

A set of runbooks to address web page performance issues and follows Lighthouse Scoring (LHS) & Core Web Vitals (CWV) best practices.

The key metrics

Core Web Vitals (CWV)

The three metrics Google uses to assess real-user experience in the field:

Other Web Vitals

Diagnostic and lab metrics that help you understand and improve the Core Web Vitals:

Retired metrics

  • First Input Delay (FID): replaced by INP as a Core Web Vital in March 2024, and fully retired in September 2024. Support for it was removed in web-vitals v5.
  • Time to Interactive (TTI): removed from Lighthouse in version 10. Use TBT and INP instead.

Use-case runbooks

The metric runbooks above tell you which metric is failing; the use-case runbooks pick up from there with per-root-cause fixes — when each applies, when to skip it, concrete code, and the anti-patterns to avoid:

  • Layout stability — shifting banners, embeds, sticky headers, JS reveals (CLS)
  • Images — space reservation and LCP hero delivery (CLS, LCP)
  • Fontsfont-display, size-adjusted fallbacks, formats, when (not) to preload (CLS, LCP, FCP)
  • Critical rendering path — render-blocking resources, request chains, preload/preconnect (FCP, LCP)
  • JavaScript cost — long tasks, code splitting, unused code, facades (TBT, INP, LCP)
  • Third parties — deferral safety, consent gating, tag containers (LCP, INP, TBT, CLS)
  • Server response — cache diagnosis, redirects, compression (TTFB, LCP)

Related performance topics

Measuring tools

Follow the steps in the performance audit walkthrough, or use one of the tools below.

Lab

Note: the standalone Web Vitals Chrome extension is deprecated; its functionality now lives directly in the DevTools Performance panel.

Field

How to prioritize fixes

  1. Is your page indexed in Google Search Console?
    • If not, defer the fix
  2. Do you have real user monitoring (RUM) data for that page?
    • If not, defer the fix
  3. Are the CWV metrics failing for that page?
    • If not, defer the fix
  4. (optional) Is the page ranking low and having high search volume?
    • If not, defer the fix

Core Web Vitals "Best Opportunity" Map Source: https://searchengineland.com/find-core-web-vitals-opportunities-447421

FAQ

Why does Page Speed matter?

Read:

Do lab scores (Lighthouse/PageSpeed) affect my search ranking?

No. Google uses field data (CrUX) for ranking signals, not your Lighthouse score. Lab tools are for debugging and iterating; always validate improvements against real-user data.

About

A set of runbooks to address web page performance issues and follows LHS/CWV best practices

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors