How to Improve Core Web Vitals in WordPress?

Find Out Which Metric Is Actually Failing

How To Improve Core Web Vitals WordPress - SiteHale

Core Web Vitals are three metrics: Largest Contentful Paint (LCP), which should be 2.5 seconds or less; Interaction to Next Paint (INP), which should be 200 milliseconds or less and replaced First Input Delay in March 2024; and Cumulative Layout Shift (CLS), which should be 0.1 or less. Google grades each one at the 75th percentile of real visitor data. A page passes only when three out of four visits meet the threshold.

Open Google Search Console and go to Experience > Core Web Vitals. Click the Mobile report first, because mobile scores are almost always worse. The report groups failing URLs by issue, such as LCP issue: longer than 2.5s (mobile). Then paste one example URL from each group into PageSpeed Insights at pagespeed.web.dev.

PageSpeed Insights shows two kinds of data. The top section, Discover what your real users are experiencing, is field data. That is what Google uses. The lower Performance score comes from a single simulated test, so it is lab data. Use the lab diagnostics to find causes, but judge success by the field data.

Field data is a rolling 28-day average. After you make fixes, expect four weeks before Search Console reflects the change. Then use the Validate Fix button on each issue group.

Steps 1–3: Fix Largest Contentful Paint

  1. Cut server response time. In PageSpeed Insights, look at Reduce initial server response time. If it shows more than 600 ms, install a page caching plugin. Use LiteSpeed Cache if your host runs LiteSpeed. Otherwise use WP Rocket or W3 Total Cache. In your hosting control panel, set PHP to 8.1 or newer. cPanel hosts usually have this under Select PHP Version or MultiPHP Manager. Upgrading from PHP 7.4 alone often cuts response time by 20–30%.
  2. Shrink and modernize the LCP image. The diagnostic Largest Contentful Paint element names the exact element, usually a hero image or slider. Resize it to the largest size it actually displays at, around 1600px wide for full-width banners. Convert it to WebP or AVIF with ShortPixel, Imagify, or LiteSpeed Cache’s Image Optimization tab. Remove sliders from the top of the page. Most slider plugins load several images and a large script before the first slide appears.
  3. Stop lazy-loading the hero. WordPress 6.3+ automatically skips lazy loading on the first content image and adds fetchpriority=high to it. Page builders and caching plugins often override this behavior. In WP Rocket, go to Media > LazyLoad and add the hero image filename to the exclusion list. In LiteSpeed Cache, go to Page Optimization > Media Settings > Lazy Load Image Excludes.

Steps 4–5: Fix Interaction to Next Paint and Layout Shift

  1. Reduce JavaScript blocking the main thread. A slow INP almost always means too much JavaScript is running.
    • Find the slow plugins. Install Query Monitor and check which plugins enqueue the most scripts.
    • Defer and delay scripts. In WP Rocket, open File Optimization and enable Load JavaScript deferred and Delay JavaScript execution. In LiteSpeed Cache, open Page Optimization > JS Settings and set Load JS Deferred to Delayed. Delaying holds back chat widgets, analytics, and pixels until the first scroll or tap.
    • Unload unused scripts. Use Perfmatters’ Script Manager or Asset CleanUp to stop scripts from loading on pages that don’t need them. For example, unload Contact Form 7 everywhere except the contact page.
  2. Reserve space so nothing jumps. CLS is caused by elements that load without reserved dimensions.
    • Images: Make sure every image has width and height attributes. WP Rocket’s Media > Add missing image dimensions handles this automatically.
    • Ads, embeds, and cookie banners: Give their containers a fixed min-height in Appearance > Customize > Additional CSS.
    • Fonts: Host Google Fonts locally with OMGF, and use font-display: swap to prevent text reflowing as fonts load.

Practical Tips That Prevent Regressions

  • Test one change at a time, in a private window. Delay and defer settings can break menus, sliders, and checkout buttons.
    • After each change, clear the plugin cache and any CDN cache.
    • Click through the menu, forms, and cart before moving on.
    • If something breaks, add that script’s filename to the plugin’s exclusion field rather than disabling the whole feature.
  • Don’t stack optimization plugins. Running two plugins that both minify or combine CSS and JavaScript causes duplicate processing and broken layouts. Examples include Autoptimize plus WP Rocket, or LiteSpeed Cache plus W3 Total Cache. Pick one plugin for caching and file optimization. Pair it with one image optimizer at most.
  • Watch your theme and page builder. Heavy multipurpose themes and older Elementor or Divi setups can load 1–2 MB of CSS and JavaScript on every page.
    • In Elementor, go to Elementor > Settings > Features. Enable Improved Asset Loading and Optimized DOM Output if your version still lists them.
    • If mobile LCP stays above 4 seconds after caching and image work, the theme itself is usually the bottleneck. Lightweight themes like GeneratePress, Kadence, or Astra typically pass Core Web Vitals with minimal tuning.

Does Your Site Have This Problem?

Every check in this article runs automatically on the sites we look after. You can run the same health checks on your own site in seconds with the free SiteHale plugin — no account, nothing transmitted anywhere. Or have us do it: we’ll crawl your site and send you a written report, free.

Get My Free Site Report

Proven on our own sites first

Every automation runs on our own sites before any client site

25+ years in IT

Built by a 25-year professional IT team

$49/mo flat

Everything included — no tiers, no upsells

Leave a Comment