How to fix late LCP image discovery in Chrome DevTools

Short answer

If the LCP image request starts late, find the element in Chrome DevTools and check if its URL is in the initial HTML. Expose the image without waiting for JavaScript, remove loading="lazy" from that image, and compare request start and paint across repeated runs.

Read the guide
Share

Summarize with ChatGPT or Perplexity

How to fix late LCP image discovery in Chrome DevTools

Start with the official references: Optimize LCP on web.dev and LCP discovery in Chrome DevTools. If you need to compare quality between builds, open Compare Lighthouse reports before and after. For adjacent technical checks, Reproleaf is useful, but it does not measure field LCP.

Download the measured results (JSON)

What late LCP image discovery actually means

Late discovery is not just “the image is slow.” The browser has to learn that the image exists before it can request it. If the URL only appears after a script runs, after hydration, after a template fills in attributes, or inside content hidden until client-side state is ready, the request starts later than it could have. For LCP, that matters because visual rendering depends not only on server response time, but also on the moment the resource becomes discoverable.

In Chrome DevTools, you need to separate request start from paint. A request can begin early while the element still paints later due to decode, layout, or styling. But in a late-discovery scenario, the problem starts even earlier: the browser simply learns about the resource too late. So file size alone is not enough for diagnosis.

The guidance on web.dev is consistent: make the LCP path predictable and early. If the image is the main content, it should be available as early as possible in HTML parsing and should not depend on a secondary JavaScript path.

How to find the LCP element in DevTools

Open the page in Chrome, then DevTools. In Performance or Insights, locate the LCP element, then inspect the chain leading to the request: what was in HTML, whether the image had a src from the start, whether it changed after load, and which initiator started the network request. In Network, the Initiator column and request start timing are especially useful. Ideally, the request should be initiated by HTML parsing, not by a late script.

If the hydrated DOM differs from the initial HTML, compare both versions. Sometimes the initial markup contains only a container or placeholder, while the real <img> appears later. That almost always hurts discovery. Also check whether attributes that block early loading are present: for the actual LCP image, loading="lazy" is usually a bad fit.

Comparison table: late vs early discovery

ItemLate variantEarly variantWhat changes
When the URL appearssrc is assigned after 850 mssrc is present in initial HTMLThe browser learns about the resource sooner
Median request start863 ms7 msThe difference is in request start, not file weight
Median LCP paint880 ms36 msPainting happens much earlier
Test environmentLocal synthetic ChromiumLocal synthetic ChromiumNo network throttling and no field data
ImageThe same graphicThe same graphicOnly discovery changes

In this local synthetic observation, each variant was run three times. The medians came out like this: for the late case, request start was 863 ms and LCP was 880 ms; for the early case, request start was 7 ms and LCP was 36 ms. That is useful as diagnostic evidence, but it is not Lighthouse data and it does not promise real-world savings. What it does show is that for an LCP image, discovery timing matters more than file size alone.

Request start and LCP paint timing
Request start and LCP paint timing. Select the image to enlarge it.

Break LCP into four measurable parts

LCP = TTFB + resource load delay + resource load duration + element render delay. Take an illustrative page: 400 + 850 + 350 + 100 = 1,700 ms. If compression saves 120 ms and nothing else changes, the calculation yields 1,580 ms. If exposing the URL earlier instead reduces load delay from 850 to 150 ms, the calculation yields 1,000 ms. Record a new Performance trace after a fix because other phases can also move.

In the local experiment, a timer introduced the delay and the image bytes stayed identical. The median request started 856 ms earlier and median LCP moved by 844 ms. The two metrics were summarized separately. Subtracting those medians within a variant does not measure decode time.

What to fix first

Start by making the image visible in the initial HTML. If the graphic really is the LCP element, it usually needs:

  • a direct <img>, not a value inserted only after JavaScript;
  • width and height, or an equivalent size reservation, to reduce layout shifts;
  • proper srcset and sizes if the image is responsive;
  • no loading="lazy" on the most important frame;
  • a matching preload only when necessary and when it points to the exact same resource;
  • the same URL in HTML and in the final DOM.

If a template engine or CMS generates the markup, make sure the needed URL is present in the server-rendered HTML. If you use hydration, do not hide the critical <img> behind client-side state. Any delay that pushes discovery later can worsen LCP even if the network itself is fast.

What the initial HTML should contain

This example assumes a hero that is at most 960 px wide. Adapt the asset paths and sizes to the rendered layout. Reserve high priority for the image that drives LCP.

<img src="/hero-960.webp"
  srcset="/hero-480.webp 480w, /hero-960.webp 960w"
  sizes="(max-width: 960px) 100vw, 960px"
  width="960" height="540" fetchpriority="high" alt="">

When preload helps, and when it does not

preload is not a substitute for good HTML. It helps when the browser cannot easily see the resource early, but the final URL is already known and matches exactly what the document will use. If the image can be exposed directly in the initial HTML, that is usually better than compensating with another hint. The key is to avoid disagreement between HTML, preload, and hydrated DOM.

Also do not confuse request acceleration with rendering acceleration. LCP is measured at the moment the main content is actually painted. So inspect both network and paint. If the request starts quickly but the image appears late, the cause is different: decode, dimensions, styles, or render blocking.

When the next build is ready, include this check in your post-release SEO regression checks so a template change cannot silently reintroduce a late request.

Checklist before release

  • You found the actual LCP element in DevTools, not just a large image.
  • You compared the initial HTML and the hydrated DOM.
  • You verified that src is present in the initial markup where possible.
  • You checked Initiator and request start in Network.
  • You removed loading="lazy" from the actual LCP image.
  • You added dimensions and the right responsive set, if needed.
  • You verified that any preload matches the real URL.
  • You compared builds with Lighthouse to see the difference between variants.
  • You did not confuse synthetic observation with field data.
  • You keep the field target in mind: 2.5 s at the 75th percentile.

Compact Q&A

Is this only an image-size problem?
Not necessarily. With late discovery, the request start breaks first, then delivery and rendering follow.

Can I just add preload?
Sometimes, but only if the URL matches and HTML cannot be made clearer. Fix discoverability in the document first.

Should the LCP image use loading=”lazy”?
Usually no. For the main image, it more often hurts than helps.

What matters more, Network or Performance?
Both. Network shows request start and initiator; Performance shows when the element became LCP.

Can I treat a local synthetic test as field data?
No. It is useful for diagnosis and comparison, but it does not replace real user data.

In short, the right strategy is simple: make the LCP image discoverable as early as possible, verify its path in DevTools, avoid hiding it behind late JavaScript, and confirm the effect by comparing builds. That improves not only the network path, but the browser’s ability to show the main content quickly.

If the interface responds slowly after a click, diagnose the interaction and INP in Chrome DevTools.

For a different symptom, where the image moves adjacent text as it arrives, use How to fix layout shifts from images without explicit width and height.

If the HTML itself is slow to arrive, start earlier in the timeline with How to diagnose high TTFB and reduce server response time.

← Back to blog

Need help with your website?

Development and SEO services →

Related articles