How to improve Core Web Vitals? Practical guide for LCP, INP and CLS
Measure LCP, INP and CLS metrics with field data; Improve Core Web Vitals values by prioritizing visual, JavaScript, font and layout related issues.
Core Web Vitalsmeasures a page's loading, interactivity, and visual stability experience with three key metrics: LCP, INP, and CLS. Good goals; For LCP it is 2.5 seconds or less, for INP it is 200 ms or less, for CLS it is 0.1 or less.
Do not base your evaluation on just one Lighthouse test. Google collects field data from user visits and evaluates the results separately for mobile and desktop. First find out which pattern and which metric is lagging, then fix the bottleneck for that metric.
1. Read laboratory and field data together
If CrUX field data is available in PageSpeed Insights, it shows the recent experience of real users. Lighthouse, on the other hand, is a laboratory test performed at that moment, under certain device and network conditions. Lighthouse is fast for diagnosis; CrUX is necessary to understand whether the result is reflected to the user or not.
Good standing is assessed by meeting the target threshold in at least 75 percent of visits. Therefore, the average value alone is not sufficient. Examine different templates in separate groups, such as homepage, list, product, and blog.
2. Improve LCP value
LCP is the large hero image, title area, or content image on most sites. If the browser discovers this resource late, the file is larger than necessary, or the server response is slow, the LCP is extended.
- Serve the image as WebP or AVIF at the correct size.
- Do not lazy load the LCP image on the first screen.
- Get the image early in HTML; Do not render late in CSS background or JavaScript.
- If necessary
fetchpriority="high"use; Don't make every image high priority. - Measure server response time at cache, query and application layers.

3. Split long JavaScript tasks for INP
INP evaluates visual response latency after click, touch, and keyboard interaction. If the main thread runs JavaScript for a long time, the interface cannot respond when the user presses the button.
Review long tasks and interaction moments in the Chrome DevTools Performance recording. Split large packages by route, remove unused third-party scripts, split heavy accounts into smaller pieces. Post non-essential work in the event handler and give visual feedback to the user immediately.
button.addEventListener('click', async () => {
button.disabled = true;
status.textContent = 'Kaydediliyor…';
await saveForm();
button.disabled = false;
});
Debounce does not solve every INP problem. If the problem is the handler's own working time, it is necessary to measure it and reduce that work.
4. Allocate space for CLS from the beginning
CLS increases if the image, ad, embed or font is loaded later and moves the content. In the imageswidthAndheightspecify values or CSSaspect-ratiouse it. Reserve space in advance for the banner that opens later; Do not add new items on top of existing content.
.video-frame {
aspect-ratio: 16 / 9;
width: 100%;
}
Fallback font suitable for web fonts,font-displayUse preference and font metric setting if necessary. Changes layout for animationtopor heightin its placetransformIt is more stable in most cases.
5. Track the fix with real user measurement
Capture regression with Lighthouse and DevTools before release. Post-release, monitor the Search Console Core Web Vitals report and your own RUM data if possible. Refreshing field data takes time; Noting the deployment date makes it easier to understand which version's impact you're seeing.
Give priority to the common template that gets the most traffic and makes up the “weak” set of URLs. Instead of chasing points on a single page, you can fix hundreds of URLs that use the same component.
Short guide
Common mistake
Mistaking a single Lighthouse score for the real user result and applying the same type of optimization for LCP, INP, CLS.