Skip to main content

Core Web Vitals Checklist: How to Speed Up WordPress and React Websites

Updated 6 min readMarkdown

A practical guide to improving LCP, INP and CLS with real code examples.

A slow website costs you visitors, conversions and search visibility. Google uses Core Web Vitals as part of its page experience signals, and users abandon slow pages regardless of what any metric says.

This guide covers what the three metrics mean, how to measure them, and how to fix the most common problems on both WordPress and React sites.

The three metrics at a glance Metric Measures "Good" threshold LCP (Largest Contentful Paint) How fast the main content loads ≤ 2.5 s INP (Interaction to Next Paint) How quickly the page responds to input ≤ 200 ms CLS (Cumulative Layout Shift) How much the layout jumps around ≤ 0.1

INP replaced FID (First Input Delay) as a Core Web Vital in March 2024, so older guides that mention FID are out of date.

Step 1: Measure before you change anything

Use a mix of lab data and real-user data:

PageSpeed Insights shows both Lighthouse lab results and field data from real users, where available Chrome DevTools, Performance and Lighthouse panels for debugging Google Search Console, Core Web Vitals report for site-wide patterns

To collect real-user metrics from your own site, use Google's web-vitals library:

js import { onLCP, onINP, onCLS } from 'web-vitals';

function sendToAnalytics(metric) { // Replace with your analytics call console.log(metric.name, metric.value); }

onLCP(sendToAnalytics); onINP(sendToAnalytics); onCLS(sendToAnalytics); Step 2: Fix LCP (loading speed)

The LCP element is usually a hero image, a large heading or a banner. Common fixes:

Prioritise the hero image html

Descriptive alt text

Lazy-load everything below the fold html

Descriptive alt text

A common mistake is adding loading="lazy" to the hero image, which delays LCP.

Other LCP fixes Serve images in WebP or AVIF, sized to the display size Use a CDN and enable compression (Brotli or Gzip) Reduce server response time (good hosting, caching, optimised database queries) Remove render-blocking CSS and JavaScript Step 3: Fix CLS (layout shift)

Layout shift happens when elements load without reserved space.

html

Our team

css /* Reserve space for responsive media and embeds */ .video-wrapper { aspect-ratio: 16 / 9; }

/* Prevent font swap from causing big jumps */ @font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-display: swap; } html

Also avoid inserting banners, cookie notices or ads above existing content after the page has loaded. Reserve space for them instead.

Step 4: Fix INP (responsiveness)

Poor INP is almost always caused by too much JavaScript running on the main thread.

Load non-critical scripts with defer: html

Break up long tasks so the browser can respond to input between chunks: js async function processItems(items) { for (const item of items) { handle(item); // Yield to the main thread periodically await new Promise(resolve => setTimeout(resolve, 0)); } } Remove unused third-party scripts (chat widgets, trackers, old plugins) Debounce expensive handlers like scroll, resize and input WordPress-specific optimisations

WordPress sites are often slowed down by plugins and themes rather than the core software.

  1. Audit your plugins. Deactivate what you don't use. Each plugin can add scripts and styles to every page.
  2. Load plugin assets only where needed. For example, load a contact form's scripts only on the contact page (add to functions.php or a small custom plugin):

php add_action( 'wp_enqueue_scripts', function () { if ( ! is_page( 'contact-us' ) ) { wp_dequeue_script( 'contact-form-7' ); wp_dequeue_style( 'contact-form-7' ); } }, 100 );

Handle names differ per plugin, so inspect the page source or the plugin's code to confirm them.

  1. Remove unneeded default scripts, such as the emoji loader:

php remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); remove_action( 'wp_print_styles', 'print_emoji_styles' );

  1. Add caching and image optimisation. Use a reputable caching plugin or server-level caching, plus automatic WebP conversion.
  2. Be careful with page builders. Elementor and similar builders are productive, but heavy templates add DOM size and CSS. Keep layouts simple and disable unused widgets and features.
  3. Use quality hosting. No amount of optimisation fully compensates for a slow server.

React-specific optimisations

  1. Code-split by route and by heavy component:

jsx import React, { Suspense, lazy } from 'react';

const Dashboard = lazy(() => import('./Dashboard'));

export default function App() { return ( <Suspense fallback={

Loading…

}> ); }

  1. Avoid unnecessary re-renders. Use React.memo, useMemo and useCallback where profiling shows a benefit, not everywhere by default.
  2. Check bundle size. Use a bundle analyser to find large dependencies. Replace heavy libraries with lighter alternatives or import only what you need.
  3. Consider server-side rendering or static generation (for example, with Next.js) for content pages. SSR or SSG usually improves LCP and makes content easier for crawlers to read than client-only rendering.
  4. Virtualise long lists so you only render what's visible.

Quick performance checklist [ ] Hero image preloaded and not lazy-loaded [ ] Images in WebP/AVIF with width and height set [ ] Below-the-fold images use loading="lazy" [ ] Fonts preloaded, with font-display: swap [ ] Non-critical JavaScript deferred or removed [ ] Third-party scripts audited [ ] Caching and compression enabled [ ] CDN in place [ ] No unexpected layout shifts when the page loads [ ] Real-user metrics tracked after deployment Don't forget: speed is one part of conversion

A fast site still needs clear messaging, strong calls to action and a good user experience. If your pages load quickly but visitors still don't enquire or buy, the problem is likely design or content rather than performance. That's where UX and conversion rate optimisation come in.

Final thoughts

Performance work pays off most when you measure first, fix the biggest bottleneck, and re-measure. You rarely need to apply every technique. Start with the LCP element, reserve space to stop layout shift, and trim JavaScript.

If you'd rather hand this off, the team at 99Graphics Design builds and optimises sites on platforms like WordPress and React, alongside SEO and digital marketing. You can reach them through the contact page.

About the author

  • 99Graphics Design is a Kolkata-based web development and digital solutions team passionate about building fast, responsive, and SEO-friendly websites that deliver exceptional user experiences. We write about modern web development, WordPress, HTML, CSS, JavaScript, technical SEO, website performance optimization, AI-powered search (AEO & GEO), UI/UX design, and digital marketing best practices. Our goal is to share practical tutorials, real-world case studies, and actionable insights that help developers, designers, entrepreneurs, and business owners create better websites and grow online.

Good checklist — the 'measure first' step is the one most people skip. Two things I'd add from client work: first, check the actual LCP element in PageSpeed Insights, not the one you assume it is — on WordPress it is often a hero built by the page builder, and preloading the wrong image changes nothing. Second, re-measure after each single fix, not after a batch of ten, or you never learn which change actually moved the number. Lab scores can also be green while real users on slow phones still fail, so the field data is the one to trust.