Core Web Vitals is a guidance from Google to delivering a great user experience on the web. There're three new metrics to define the website has a good experience or not. The metrics are Largest Contentful Paint, First Input Delay, and Cumulative Layout Shift.
3. TABLE OF
CONTENT
Introduction
What is Web Vitals & Why?
The New Matriks
LCP, FID and CLS
How to Measure
Tools to measure Core Web Vitals
How To Improve?
Conclusion
The conclusion of Core Web Vitals
1
2
3
4
5
Simple Implementation: PRPL
5. WHAT IS CORE WEB VITALS?
image source: https://www.youtube.com/watch?v=yDHfrhCGFQw | https://web.dev/vitals/
Now, 2020, There are three aspects of the user experience (will evolve over time)
A Guidance from GOOGLE to deliver a great USER EXPERIENCE
6. WHAT IS CORE WEB VITALS?
Ex: Loading Experience
image source: https://www.youtube.com/watch?v=yDHfrhCGFQw | https://web.dev/vitals/
10. Largest Contentful Paint (LCP)
will Measure Loading Performance
To provide a good user
experience, pages
should have a LCP of
less than 2.5 seconds
22. Optimize Largest Contentful Paint
For additional guidance on individual performance techniques
Optimize Your Images Optimizing Web Font
Apply PRPL Techniques
* you can use just one of them either all techniquest together
Optimize Your CSS
Optimize Your JavaScript (Client)
Image source: https://developers.google.com/ | https://web.dev/
Push, Render, Pre-Cache, Lazy Load
Optimizing the Critical Rendering Path
27. 0s 1s 2s 3s
login.html
font
main.css
bundle.js
image
>2.5s
without Preload
<2.5s
Using Preload0s 1s 2s 3s
login.html
image (preload)
font
main.css
bundle.js
* using preload will change PRIORITY of our asset and give us MORE CHANCE to get good LCP
28. What’s Next?
- Core Web Vitals : https://web.dev/vitals/
- How to Measure : https://web.dev/vitals-tools/
- Learn More From :
- https://web.dev/blog/
- https://dev.to/
- https://medium.com
-
-
HAPPY LEARNING
29. SUMMARY
- Good Experience Website has a Good:
- Loading Performance
- Fast Interactivity
- Visual Stability
- Loading Performance - LCP (<2500ms)
- Interactivity - FID (<100ms)
- Visual Stability - CLS (<0.1)
- Measure Core Web Vitals via :
- Core Web Vital Extension, Lighthouse (development stage)
- PageSpeed Insight, Search Console (Post-launch)
- etc
- Start with LCP and use PRPL Technique
- Start now, maybe nobody can’t reach your site in 2021