Core Web Vitals Flashcards
1
Q
What are the metrics that make up Core Web Vitals?
A
- Largest Contentful Paint (LCP)
- First Input Delay (FID)
- First Contentful Paint (FCP)
- Cumulative Layout Shift (CLS)
2
Q
What are the browser rendering steps?
A
- Connect to website server
- Download HTML
- Begin rendering page - “Painting”
- Download CSS, JS, images and fonts
- Execute JS, apply CSS
- Construct the DOM
- Execute remaining JS
- Page completes rendering
3
Q
What does LCP stand for?
A
Largest Contentful Paint
4
Q
What is Largest Contentful Paint?
A
Measures loading performance. For a Good UX, it should occur within 2.5 seconds of when the page first starts loading.
5
Q
How do you go about improving Largest Contentful Paint?
A
1) Critical CSS and Asynchronous Asset Loading
2) Optimizing images
3) Reducing server response time
6
Q
What is First Input Delay(FID)?
A
Measures interactivity. A good user experience will have an FID of less than 100 milliseconds. This will be replaced by Interaction to Next Paint in March 2024.
7
Q
What is Cumulative Layout Shift (CLS)?
A
8
Q
A