Demystifying and leveraging Web Vitals
summary
Defines the actionable claim: measure Core Web Vitals (LCP, FID, CLS) in production and CI using the web-vitals npm package, debug with the Chrome DevTools Performance tab and Lighthouse, and send real-user metrics to analytics. Builds a demo from create-react-app that shows three layout shifts and a 500ms main-thread task; fixes include downsizing an image, reserving banner space, and trimming JavaScript. Result is LCP moving earlier, layout shifts disappearing and total blocking time dropping to zero, proving the approach works.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:45Clement Pasteur
- 4:20Intro
- 4:40Web Vitals
- 6:46First Input Delay
- 11:22Lighthouse
- 13:18Cumulative Layout Shift
- 13:57Total Blocking Time
- 16:27Layout Shifts
- 19:57The Web Vitals Extension
- 21:33Page Speed Insights
- 28:16Summary
- 34:52What Is the Impact of Measuring a Dev versus Prod Build of a Create React App Using Performance Tab in Chrome
- 38:47Placeholders
- 41:11Are There some Best Practices in Order To Correctly Fix the Things Reported by Web Vitals Test
related talks
29mCore Web Vitals: Put Your App into Orbit with Best Practices
31mPanel Discussion: Get to Know: Web Performance and Core Web Vitals
39mCore Web Vitals under control
42mA crash course in core web vitals for React developers
25mCore Web Vitals under control
01h 14mCore Web Vitals: Theory and practice
34mOptimizing Web Applications with Core Web Vitals
15mCore Web Vitals – Measuring Performance Like a Pro
