WordPress Core Web Vitals The way to improve their values ​​is to consider the three metrics separately and find the source breaking each: largest image and server response for LCP, JavaScript load for INP, unspecified items for CLS. Installing a single speed plugin won't solve all three problems. The following sequence starts from the Search Console report and goes down to the concrete setting in the theme.

Read the report correctly

In Search Console, the Core Web Vitals report shows addresses in groups. A single problematic pattern in a group pushes hundreds of addresses into the red. That's why you need to find the template instead of going from address to address: product page, blog post, category?

MetricWhat does it measure?good valueMost common cause in WordPress
LCPTime to appear for largest itemunder 2.5 secondsSlow loading cover image, slow server response
INPResponse time to clickbelow 200 msHeavy plugin scripts, page builder overhead
CLSPage scrolling while loadingbelow 0.1Dimensionless image, late font, ad space

If you want to read the definition of metrics in detail What is Core Web Vitals Our article explains the basic concepts.

LCP: put largest element first

The LCP element will be the featured image on most WordPress pages or the large banner on the home page. If this image loads slowly, the metric will be distorted. The things to do are as follows:

  1. Turn off lazy loading on the LCP image; The image on the first screen is not kept waiting.
  2. visual fetchpriority="high" give the attribute or turn on this setting of the theme.
  3. Present the image in WebP format and in the same width as it appears on the screen.
  4. If you are using a slider, turn the first frame into a still image; slider script delays LCP.

If LCP is high even though the image is loaded correctly, the problem is in the server response time. On a page cache disabled site every request goes through PHP and the database.

INP: reduce click-waiting scripts

INP measures how long it takes for the page to respond when the visitor presses the menu or add to cart button. What corrupts the value is JavaScript, which keeps the main thread busy. The browser queues the click when the live box, popup plugin, heatmap, and multiple analysis codes run simultaneously.

You can see long tasks (jobs exceeding 50 ms) in the Performance tab in the browser's developer tools. Finding the script that produces the longest task and loading it only on the required page often brings the metric into a good range. Loading the contact form script on every page is a typical example of this.

CLS: reserve space

Crawling occurs when the browser does not know in advance the space an element will occupy. Give width and height values ​​to images, use fixed ratio container for embedded video and map. Download fonts from your own server font-display: swap Define preload with . If the cookie notice and banner are pushing down the page, display them by overlaying the content.

Example scenario

For example, in a WooCommerce store with 400 products, the product pages are in the red group with LCP 4.1 seconds on mobile. Upon review, it is seen that the product image is loaded with a delay and is presented as a 1,600 pixel wide JPG. Delayed loading is turned off on the first image, the image is presented as 800 pixel WebP and page caching is turned on. Because a single pattern is corrected, all 400 addresses are healed at the same time. The numbers here are representative; The reason may be a different item on your site.

How do you verify the change?

After correction, take laboratory measurement first. Page speed test When you enter an address from the problematic template into the tool, you will see LCP and offset sources. Then start the Verify Fix step in the relevant issue group in Search Console. Since actual user data is collected within a 28-day window, the results become clear within a few weeks.

Common mistakes

  • Measuring the homepage alone: Most traffic comes to product and article pages; The problematic template may be there.
  • Installing three speed plugins together: Plugins that do the same job corrupt each other's output.
  • Applying delayed loading to all images: LCP deteriorates when the visual on the first screen is kept waiting.
  • Relying on desktop result: The report evaluates mobile and desktop separately, with mobile being weaker on most sites.

The scope of the work that corrects the metrics template by template WordPress speed optimisation page.

Why is the Core Web Vitals report different from the PageSpeed ​​result?

The Search Console report shows the last 28 days of data from real visitors, while the PageSpeed ​​test is a single laboratory measurement. Real user data is taken as basis when making decisions.

When does the report turn green after correction?

Since the data is collected with a 28-day window, the change is reflected in the report step by step. The first movement is usually seen within a week or two, and the full result becomes clear when the window is full.

Is it necessary to change the theme?

It is not required on most sites. When the LCP image, font installation and unnecessary scripts are corrected, good values ​​​​are obtained with the current theme.