Largest Contentful Paint (LCP) in WordPress: How to Improve It (Tested on One Page)
Disclosure: some links in this article (WP Rocket and FlyingPress) are affiliate links; read our affiliate disclosure. WPDeveloper gave us an xSpeed Cache Pro license for testing; they had no input into the results.
Largest Contentful Paint (LCP) is the time it takes for the biggest image or text block in the first screen to appear. Google calls 2.5 seconds or less “good”, measured at the 75th percentile of real visits. To improve LCP in WordPress, find the LCP element first, then fix in this order: server response, render-blocking CSS, the image or font behind that element.
I tested this on one WordPress page, the same page for every plugin. With no optimization plugin, mobile LCP was 2.8 s. With FlyingPress at its default settings it was 1.1 s, measured in the same test round.
Page caching alone didn’t lower LCP; the drops came from plugins that also optimized CSS and other front-end files, and two “speed” changes made LCP worse: Remove Unused CSS on top of Critical CSS in xSpeed Cache, and Cloudflare’s edge cache. Below: how to find your LCP element, what each plugin did to LCP, and the fixes in the order I would do them.
Tested: WP Super Cache, Autoptimize, WP Fastest Cache 1.5.5, W3 Total Cache, WP Rocket, FlyingPress 5.6.7, xSpeed Cache 1.4.7 + Pro 1.3.8 and NitroPack 1.20.4 (free plan) on the same test page: WordPress 7.1.4, Kadence theme, Nginx on an aaPanel VPS in Hong Kong, Cloudflare proxied. PageSpeed Insights mobile (middle of three runs) from Dhaka, November 8-11, 2026, plus my live site on November 13. Tested by Dolon Bepari. Method: how we test cache plugins.
Table of Contents
What Is Largest Contentful Paint (and What Is a Good LCP Score)?
A good LCP score is 2.5 seconds or less. Between 2.5 and 4 seconds “needs improvement”, and over 4 seconds is “poor”.
Google judges it on the 75th percentile of real page loads, so three out of four visits must hit the target, and it scores mobile and desktop separately (see Google’s LCP guide). Mobile is usually the harder one to pass.
| LCP (75th percentile) | Rating | What it means for you |
|---|---|---|
| 0 to 2.5 s | Good | Passes this Core Web Vital |
| 2.5 to 4.0 s | Needs improvement | Worth fixing, start with the LCP element |
| Over 4.0 s | Poor | Visitors wait on a blank or half-drawn screen |
There are two kinds of LCP numbers, and they often disagree. Field data comes from real Chrome users (the Chrome UX Report) and is what Search Console’s Core Web Vitals report shows.
Lab data is one simulated load, which is what you get from PageSpeed Insights’ Lighthouse section or Chrome DevTools. Lab data is what you use to test a fix today; field data is what Google actually grades, and it moves slowly.

That is one of my live posts on November 13: Performance 100, LCP 1.1 s. Notice the top line says “No Data” for real users.
A young site like mine doesn’t have enough Chrome traffic yet, so for now the lab number is all I can work with. That is normal, and it is why I test every change with the lab tools.
Find Your LCP Element First (It May Not Be an Image)
Most guides to largest contentful paint WordPress fixes jump straight to “compress your hero image”. Check first, because the LCP element is not always an image. Two free ways to see it:
- PageSpeed Insights: run your URL, open the LCP breakdown insight under Performance. It names the element and shows where the time went.
- Chrome DevTools: open the page, press F12, go to the Performance tab. The Local metrics card shows your LCP and the element, for example
img.wp-post-imageorp.wp-block-paragraph. - GTmetrix also highlights the LCP element in its report, if you already use it.

On my live post, the LCP element is text on both devices. On desktop it is a paragraph (local LCP 0.15 s on my own fast connection, which is not comparable with PageSpeed’s slowed-down mobile number), and on mobile it is the post title, the H1. The featured image is not the LCP element at all.
If I had spent an afternoon compressing that image, LCP would not have moved. On a page with a big hero image or a slider, the answer will be different, which is exactly why you check.
The Four Parts of LCP (and What My Breakdown Showed)
Google splits LCP into four parts (web.dev explains each one). Knowing which one is big tells you what to fix:
| Part | What it is | Usual WordPress fix |
|---|---|---|
| Time to first byte (TTFB) | Waiting for the HTML | Page cache, better hosting, CDN |
| Resource load delay | Time before the LCP image starts downloading | Don’t lazy-load it; preload or fetchpriority=”high” |
| Resource load duration | Downloading the image itself | Smaller file, WebP/AVIF, right dimensions |
| Element render delay | Waiting after everything arrived until it paints | Less render-blocking CSS and JS, faster fonts |
When the LCP element is text, there is no file to download, so only two parts exist: TTFB and render delay. That is exactly what my mobile breakdown shows.

Time to first byte was 10 ms and element render delay was 130 ms, for the h1.entry-title element. Those two don’t add up to the 1.1 s headline.
PageSpeed simulates the headline LCP for a slowed-down mobile phone and network, while the breakdown seems to come from the actual, unthrottled test load (hence the 10 ms TTFB). Read the breakdown for its shape: here almost nothing is waiting on the server, so the remaining work is CSS and fonts, not caching.
LCP WordPress Plugins: What Each One Did to LCP on My Test Page
Here is what each plugin did to mobile LCP on the same test page. I ran the tests in two rounds on different days, each with its own fresh baseline, so compare within a table, not across them.
Round 1: free plugins and WP Rocket (November 8-9)
| Setup | PageSpeed mobile | LCP |
|---|---|---|
| No cache plugin (baseline) | 97 | 2.5 s |
| WP Super Cache | 96 | 2.7 s |
| WP Super Cache + Autoptimize | 100 | 1.7 s |
| WP Fastest Cache (free) | 96 | 2.8 s |
| W3 Total Cache (Disk: Enhanced, minify, lazy load, Redis) | 98 | 1.7 s |
| WP Rocket, basic settings | 100 | 1.7 s |
| WP Rocket + Remove Unused CSS | 100 | 1.1 s |
WP Rocket was measured on November 9 against the November 8 baseline, so there was no new baseline that day. Its Delay JavaScript was already on right after activation, so “basic” already included Delay JS; there is no separate with/without Delay JS number for WP Rocket.
Round 2: FlyingPress, xSpeed Cache and NitroPack (November 10-11)
| Setup | PageSpeed mobile | LCP |
|---|---|---|
| No cache plugin (baseline) | 95 | 2.8 s |
| FlyingPress defaults (Remove Unused CSS and Delay JS on) | 100 | 1.1 s |
| FlyingPress basic (both off) | 98 | 1.8 s |
| FlyingPress with only Delay JS | 100 | 1.7 s |
| FlyingPress full settings | 100 | 1.2 s |
| FlyingPress full + Cloudflare edge cache | 100 | 1.7 s |
| NitroPack free (Strong mode, one run, possibly mid-optimization) | 89 | 2.7 s |
xSpeed Cache Pro was tested step by step, each step keeping the ones before it: page cache 1.5 s, plus Redis 1.5 s, plus Delay JS 1.4 s, plus Critical CSS 1.2 s, plus Remove Unused CSS 1.7 s. PageSpeed stayed at 100 the whole way. NitroPack’s free plan locks Remove Unused CSS and LCP preload behind the paid Plus plan.
The pattern is clear. WP Super Cache and WP Fastest Cache free, with all their free options on (2.7 s and 2.8 s), did not lower LCP on this page.
The fuller plugin setups lowered it to about 1.5-1.8 s, and only the CSS features took it to 1.1-1.2 s: WP Rocket’s Remove Unused CSS and FlyingPress’s defaults. Full numbers for each plugin are in my cache plugin tests, the WP Rocket review and the FlyingPress review.
Both paid winners are one-click for this: WP Rocket needs Remove Unused CSS switched on, and FlyingPress has it on by default.
How to Improve LCP in WordPress: The Fixes in the Order I’d Do Them
To improve your LCP value, fix the biggest part of the breakdown first. In practice that means: make the HTML fast, stop CSS from blocking the first paint, then help the LCP image or font load early. Here is that order with what each step did on my pages.
1. Get the HTML fast (page cache and TTFB)
If TTFB is a large part of your LCP, nothing else matters yet. A page cache plugin, decent hosting and a CDN fix it.
On my live site (October 28, on another post), TTFB went from 0.872 s with no cache to 0.385 s with page caching and 0.145 s from Cloudflare’s edge; the steps are in how to reduce TTFB in WordPress and my WordPress caching setup guide. But caching is only the first step: WP Super Cache alone left LCP at 2.7 s against a 2.5 s baseline.
2. Stop CSS from blocking the first paint
Remove Unused CSS and critical CSS took LCP the lowest in my tests: 1.1-1.2 s. Two ways to do it:
- Remove Unused CSS: builds a smaller stylesheet per page. In WP Rocket it is Optimize CSS delivery → Remove Unused CSS; it took 8 minutes to generate and cut LCP from 1.7 s to 1.1 s. In FlyingPress it is Remove Unused CSS, on by default; with only Delay JS on, LCP was 1.7 s, and adding Remove Unused CSS (full settings) brought it to 1.2 s. Details: remove unused CSS in WordPress.
- Critical CSS: inlines only what the first screen needs and loads the rest later. In xSpeed Cache Pro, added on top of page cache, Redis and Delay JS, it took LCP from 1.4 s to 1.2 s. Comparison of plugins: critical CSS in WordPress.
3. If your LCP element is an image: load it early
Never lazy-load the LCP image, give it fetchpriority="high", serve it at the size it is shown, and use WebP or AVIF. Since WordPress 6.3, core adds fetchpriority="high" to the first large image (over 50,000 pixels, width × height) and never lazy-loads that same image. It guesses, though, and the guess can be wrong (a logo or an image inside a slider), so check the LCP element against what your theme and plugins actually mark before adding another tool.

Here is something I found on my own site. The page head preloads two images at high priority: the logo and the featured image. Those preload tags come from my theme and plugin setup, not from WordPress core.
On this post neither image is the LCP element (the text is), so the preload doesn’t help LCP here. Google’s guidance is to keep high priority for one or two images at most, so check your own head for several “high” images competing with each other. I haven’t measured removing one, so I can’t give you a number for it.
4. If your LCP element is text: CSS and fonts
Text paints once its CSS and font are ready. After CSS, look at fonts: host Google Fonts locally, use font-display: swap so text shows in a fallback font straight away, and preload only the one font file the title uses. On my live post, mobile render delay was 130 ms with the title as LCP, which is why I’m leaving the images alone there.
5. Delay JavaScript: good for TBT, small for LCP
Delay JS is often sold as an LCP fix. In my tests it barely moved LCP: FlyingPress went from 1.8 s to 1.7 s, and xSpeed Cache from 1.5 s to 1.4 s (on top of its page cache and Redis). It is still worth turning on for Total Blocking Time and interaction, just don’t expect it to fix a slow LCP.
6. A CDN or edge cache: faster TTFB is not automatically faster LCP
This one surprised me. With FlyingPress full settings, LCP was 1.2 s. When I put the page behind Cloudflare’s edge cache, TTFB dropped to 0.146 s, but LCP read 1.7 s.
A faster first byte did not turn into a faster paint on that run. Use an edge cache for TTFB and global visitors (my Cloudflare settings for WordPress are here), then re-check LCP afterwards instead of assuming it improved.
7. Keep the first screen simple
Sliders, background-image heroes added through CSS, video posters and heavy page-builder sections above the fold are the usual LCP problems on WordPress. Fixes by element type:
- CSS background image: the browser can’t see it until the CSS loads. Preload it with a
<link rel=preload as=image>tag, or better, switch the hero to a normal image block. - Slider: the first slide is often lazy-loaded or added by JavaScript. Exclude the first slide image from lazy load and Delay JS, or replace the slider with one static image.
- Video: the poster image counts as the LCP. Use a small, compressed poster and don’t lazy-load it.
- Page-builder hero: a heading in the first screen is often the LCP. It mostly needs less render-blocking CSS and fast fonts (steps 2 and 4).
What Can Break (and When an LCP Fix Makes Things Worse)
- Remove Unused CSS can remove CSS you need. On my live site, FlyingPress’s Remove Unused CSS made buttons grey until the first tap; a five-line CSS rule fixed it (my FlyingPress settings). Check menus, icons, hover states and pop-ups after turning it on, and add exclusions where needed.
- Stacking CSS features can backfire. In xSpeed Cache Pro, adding Remove Unused CSS on top of Critical CSS took LCP from 1.2 s to 1.7 s (xSpeed Cache review). After each change, re-test; keep the setting only if LCP stays lower.
- Delay JS can break interactive parts. Mobile menus, sliders and cookie banners may wait for the first tap. Exclude those scripts.
- Lazy-loading the LCP image through an extra plugin or theme option undoes the work. If PageSpeed flags “lazy loaded LCP image”, exclude the first image from lazy load.
Why Mobile and Desktop LCP Are Different
PageSpeed tests mobile on a slowed-down phone and network, so mobile LCP is almost always higher. The LCP element can change too, because the layout changes.
On my post the element was the H1 title on mobile and a paragraph on desktop. Fix for mobile first: it is usually the harder one to pass.
Does LCP Affect SEO?
Yes, a little. LCP is one of Google’s three Core Web Vitals, which feed into its page experience signals.
Google says good scores alone don’t guarantee rankings and that helpful, relevant content matters more. Treat LCP as a tie-breaker and a user-experience fix.
How to Check LCP After a Change
- Clear every cache layer first (plugin, server, CDN) so you test the new version; how to clear WordPress cache covers each one, and check if your cache is working tells you if you’re getting a fresh copy.
- Run PageSpeed Insights three times and use the middle result. Single runs jump around.
- Look at the LCP breakdown again: did the part you targeted get smaller?
- In Search Console, open the Core Web Vitals report. It uses real-user data over the last 28 days, so wait a few weeks before judging a fix there, and expect “not enough data” on low-traffic sites.
Frequently Asked Questions
What is a good LCP score?
2.5 seconds or less at the 75th percentile of real visits is “good”. 2.5 to 4 seconds needs improvement, and over 4 seconds is poor. Google rates mobile and desktop separately.
How do I fix Largest Contentful Paint?
Find the LCP element in PageSpeed Insights first. Then fix in order: fast HTML (page cache, hosting, CDN), less render-blocking CSS (Remove Unused CSS or critical CSS), and for an image, no lazy loading plus fetchpriority=”high” and a smaller file. On my test page, Remove Unused CSS and critical CSS took LCP the lowest: 1.1-1.2 s.
Is LCP a ranking factor?
It is one of the Core Web Vitals that Google’s ranking systems use as part of page experience. It helps, but Google says relevance and helpful content matter more, so a fast page with weak content won’t outrank a better answer.
Should I lazy load the LCP image?
No: lazy loading makes the browser wait, which delays the biggest element. Exclude the first image from lazy loading and give it fetchpriority=”high”. Recent WordPress versions do this automatically for the image they expect to be the LCP.
Why is my LCP worse on mobile?
PageSpeed tests mobile with a slower processor and network, and the layout can change which element is the LCP. On my post, mobile LCP was the H1 title and desktop LCP was a paragraph.
Do I need a plugin to improve LCP?
Not always, but on WordPress a plugin is the easiest way to get page caching and Remove Unused CSS or critical CSS. In my tests, page caching alone did not lower LCP; the plugins that also optimized CSS and other front-end files did, and Remove Unused CSS or critical CSS took it lowest.
Why does PageSpeed Insights say “No Data” for real users?
Field data comes from the Chrome UX Report, and pages or sites without enough Chrome traffic have none. Use the lab results to test changes until field data appears.
