Web Core Vitals Guide
Web Core Vitals Guide
Web Core Vitals Guide
Brought to you by
08
Introduction
11
Chapter 1
Google’s New How You Can
Ranking Factor: Measure Core Web
Core Web Vitals — Vitals
Are You Ready? Matt Southern
Anna Lea Crowe
28
Chapter 2
42
Chapter 3
Core Web Vitals FAQ: First Input Delay - A
Advice & Insights from Simple Explanation
Google Roger Montti
Roger Montti
Content
60
Chapter 4
69
SEJ Partner
Cumulative Layout How To Optimize Media
Shift — Overview of and Reduce Largest
2021 Google Ranking Contentful Paint
Factor Nathan Kelley, Managing Director,
Media Optimizer, Cloudinary
Roger Montti
83
Chapter 5
94
Chapter 6
Some are more impactful than others, and one of those is the
impending rollout of Core Web Vitals in June 2021.
Core Web Vitals are the user experience needs that all
websites should be striving to meet.
Search Console.
PageSpeed Insights.
Lighthouse.
Chrome DevTools.
Chrome UX Report.
Web Vitals Extension.
Search Console
CORE WEB VITALS: A COMPLETE GUIDE
PageSpeed Insights
PageSpeed Insights has been upgraded to use Lighthouse
6.0, which makes it capable of measuring Core Web Vitals in
both the lab and field sections of the report.
Lighthouse
Lighthouse was recently upgraded to version 6.0, including
additional audits, new metrics, and a newly composed
performance score.
CORE WEB VITALS: A COMPLETE GUIDE
Chrome UX Report
Also referred to as CrUX, this report is a public dataset of real
user experience data on millions of websites.
Google has recently updated the report with a new Core Web
Vitals landing page.
Chrome DevTools
Chrome DevTools has been updated to help site owners find
and fix visual instability issues on a page that can contribute
to Cumulative Layout Shift (CLS).
As important as the Core Web Vitals are, they’re not the only
user experience metrics to focus on.
According to Mueller:
It’s like a traffic jam caused by a free for all where there are
no traffic signals, which causes accidents and slowdowns.
Fixing it is about bringing order to the traffic.
JavaScript Impact on
First Input Delay
JavaScript is like a little engine that makes things
happen. When a name is entered on a form, a JavaScript
might be there to make sure both the first and last
name is entered. When a button is pressed, a JavaScript
may be there to tell the browser to spawn a thank you
message in a popup.
Async Attribute
JavaScript files with the Async attribute will download and
then execute as soon as it is downloaded. When it begins
to execute is the point at which the JavaScript file blocks
the main thread.
Defer Attribute
JavaScript files with the “defer” attribute will also
download asynchronously.
Not all users will interact with your site every time
they visit. And not all interactions are relevant to
FID...
Impact Fraction
Impact fraction is a measurement of how much space
an unstable element takes up in the viewport.
Distance Fraction
1. Slow servers.
2. Render-blocking JavaScript and CSS.
3. Slow resource load times.
Google has a neat tip for dealing with CSS that’s not
essential for rendering what the user sees:
PageSpeed Insights.
Search Console (Core Web Vitals report).
Chrome User Experience Report.
Chrome DevTools.
Lighthouse.
Chrome User Experience Report.
Rachel Anderson
Director of Web Intelligence at Local SEO Guide
CORE WEB VITALS: A COMPLETE GUIDE
What Is Lighthouse?
Lighthouse is an open-source auditing tool that provides
standardized scores across five areas:
Performance.
Progressive Web App.
Best Practices.
Accessibility.
SEO.
For the purposes of this article, we’re going to use the name
Lighthouse to refer to the series of tests executed by the
shared Github repo, regardless of the execution method.
Updates to Lighthouse:
Web Core Vitals
On May 5, 2020, the Chromium project announced a
set of three metrics with which the Google-backed
open-source browser would measure performance.
Methodology Matters
/ Homepage
/cart Cart
/checkout Checkout
1. Visit web.dev/measure/.
2. Sign in using your Google account.
3. Enter your URL.
4. Click Run Audit.
Lighthouse Performance
Metrics Explained
LCP Scoring
Text.
Images.
Videos.
Background images.
Minify CSS.
Defer non-critical CSS.
Inline critical CSS.
Minify and compress JavaScript files.
Defer unused JavaScript.
Minimize unused polyfills.
TBT Scoring
Heavy JavaScript.
That’s it.
CORE WEB VITALS: A COMPLETE GUIDE
FCP Scoring
Speed Index
SI Scoring
How to Improve SI
The longer and denser the path, the slower your site will be to
provide a visual page. If your path is optimized, you’ll give users
content faster and score higher on Speed Index.
CORE WEB VITALS: A COMPLETE GUIDE
Time to Interactive
TTI Scoring
That’s right – if you’re loading your footer first and then the
hero content of the page, your CLS is going to hurt.
CLS Resources
Conclusion
The complexity of performance metrics reflects the
challenges facing all sites.