David Toro

Performance

Core Web Vitals for e-commerce: what moves LCP and INP

How product pages pass Core Web Vitals: the LCP image, the layout shifts around price and cart, and the third-party scripts that quietly break INP.

By David Toro4 min readUpdated November 17, 2026
Short answer

Product pages usually fail on three things: a slow LCP image, layout shifts around price and cart, and INP from third-party scripts. Optimise the gallery image first, reserve space for price and controls, then defer or remove scripts that block interaction. Measure with CrUX field data and test on a throttled mobile profile.

Core Web Vitals are three numbers measured on real visits, not on a lab machine: LCP, INP and CLS. For a store they matter more than for a blog, because every failing metric sits between a visitor and a checkout.

The thresholds are fixed: LCP at or under 2.5 seconds, INP at or under 200 milliseconds, and CLS at or under 0.1, read at the 75th percentile of page loads. Passing them is not a ranking guarantee; failing them costs every session.

Should you trust field data or lab data?

Field data comes from real users. CrUX aggregates Core Web Vitals over a 28-day window and reports the 75th percentile, which is why one fast desktop visit never moves it. Lab data is a single synthetic run under fixed conditions. They disagree because the lab has no extensions, no slow 4G and no mid-range Android.

Optimize for the field, debug in the lab. If CrUX says the product page fails LCP on mobile, use Lighthouse and the Performance panel to find the cause, then confirm the fix after the next field window rolls over. Chasing a green lab score while the field stays red is wasted work, and field tools segment by device and page group, which is where the useful decision actually lives.

How do you fix LCP on a product page?

On a product detail page the LCP element is almost always the main gallery image. That makes the fix concrete: serve it in AVIF or WebP at the rendered size, set explicit width and height, load it eagerly with a high fetch priority, and preload it when it sits behind a carousel.

Three habits undo the work: lazy-loading the first image, delaying it until a JavaScript slider initializes, or painting it as a CSS background the preload scanner cannot see. The hero image should be in the initial HTML, requested early, and never swapped in after hydration. If a third-party gallery is non-negotiable, render the first frame server-side and upgrade the rest after load.

How do you stop layout shifts around price and cart?

Price, rating, stock status and the add-to-cart block must not move after first paint. Reserve their space in CSS with fixed heights or aspect ratios, and render critical commerce data in the initial HTML rather than fetching it into an empty container. If a personalization script rewrites the price after paint, the shift counts even when the final number is correct.

Above the fold, avoid injecting banners, cookie walls or review widgets that push content down. Load web fonts with font-display swap and a matched fallback so a late font does not reflow the headline. CLS is usually an ordering problem, not a styling one.

What usually causes poor INP on a store?

INP measures the delay between an interaction and the next frame the browser paints. On commerce sites the usual culprit is not first-party code but pixels, chat widgets, review platforms and tag managers competing for the main thread during the first seconds after load.

Defer what is not needed for the first interaction, load review widgets behind a facade that swaps in on click, and keep analytics off the critical path. Break long tasks, and test on a throttled mid-range phone, because desktop Chrome forgives latency your customers will not. A useful rule: if a script is not needed to read the page or start a purchase, it can wait for idle or for the interaction that needs it.

How do you reduce TTFB with caching?

TTFB is the time before the first byte arrives. Static output served from a CDN answers in milliseconds because the HTML already exists. Per-request server rendering and uncached API calls put a database round trip in front of every visit, before the browser can parse anything.

Prerender catalogue and content pages at build time, cache HTML at the edge, and move personalization to the client after paint. On Shopify the checkout is hosted and fast, but the theme still decides how quickly the product page starts; lean themes and fewer apps show up directly in TTFB. Cache the HTML, not just the assets: an edge hit on the document removes the largest delay a store can control.

How do you measure Core Web Vitals over time?

Measure by template, not by site average: product, collection, cart and homepage fail for different reasons. Segment mobile and desktop separately, and look at the 75th percentile per group, because an average hides the slowest quarter of your traffic. Split by connection too: a template that passes on fast connections can still fail the customers you most want to convert.

Fix in order of reach: the template with the most sessions and the worst metric first. Re-measure after deploy, then wait for field data to catch up, since the 28-day window is a lag rather than a bug. One fixed product template usually moves a store more than twenty micro-optimizations elsewhere.

FAQ

Does passing Core Web Vitals improve rankings?

It can help at the margin, but content and relevance still decide most rankings. Treat Core Web Vitals as a conversion and retention problem first: a faster product page is easier to buy from, whatever its position.

Should I optimize for Lighthouse or CrUX?

CrUX, because it reflects your actual visitors on their actual devices. Use Lighthouse to diagnose, not to grade. A perfect lab score with failing field data means real users are still waiting.

How long after a fix do the numbers change?

CrUX reports a rolling 28-day window, so a deploy can take weeks to appear fully in field data. Check lab metrics immediately and use real-user monitoring if you need faster confirmation.

Sources

David Toro
David ToroWeb Growth Specialist & Web Developer · Santander, Colombia

I build and optimize Webflow, Shopify and Astro sites with technical SEO, analytics and performance work.