OutPerformerz
BACK TO SIGNALS
PERFORMANCE#20

How to improve LCP on your online store: the most common causes

Nov 26, 2026 · 6 min read

Largest Contentful Paint shows when the main visible content of a page has loaded. On a store, that is usually the hero or product image. The causes of a poor score are almost always the same. Here is how to find and fix them.

What LCP measures and how to narrow down the cause

Largest Contentful Paint (LCP) measures when the largest visible image or text block in the first screen has rendered. On the homepage it is usually the hero image or the first slide. On a product page it is the main product image. On mobile it can also be a heading or even the cookie banner text.

Google rates an LCP of up to 2.5 seconds as good and anything above 4 seconds as poor. What counts is field data from real visitors: the value that 75 percent of page views meet or beat. Lab data from a single Lighthouse run helps with diagnosis, but it doesn't decide the rating.

For diagnosis, split LCP into four phases:

  1. Time to First Byte (TTFB): how long until the server delivers the HTML?
  2. Load delay: how much time passes before the browser even requests the LCP image?
  3. Load duration: how long does the image take to download?
  4. Render delay: how long until the loaded element actually appears on screen?

PageSpeed Insights and the Performance panel in Chrome DevTools show which element is the LCP element and how the time is split. The longest phase tells you where to start.

Cause 1: oversized or poorly delivered hero and product images

If load duration is the longest phase, the image itself is usually the problem.

  • Files that are too big: a hero image uploaded at full camera resolution and only scaled down on display costs a lot of time on mobile.
  • No responsive variants: with srcset and sizes, a phone loads a smaller version than a large screen. Without them, every device gets the same big file.
  • Older formats: WebP and AVIF are usually much smaller than JPEG or PNG at the same quality. Modern store platforms and image CDNs can generate them automatically.
  • Image as a CSS background: the browser only discovers a hero image set via background-image once the CSS has loaded and been applied. A regular img element is found as soon as the HTML is parsed.
  • Image inserted by JavaScript: here, too, the browser can only request it late.

A practical rule: the LCP image should be a real img element in the HTML, delivered at a suitable size and in a modern format.

Cause 2: sliders and carousels above the fold

Homepage sliders are among the most common LCP blockers on online stores. The problem is rarely the image. It is the technology around it.

  • Many slider scripts hide the slides until the JavaScript has loaded and initialised. The image has long since loaded but only appears later, which adds render delay.
  • Fade-in animations let the first slide appear gently. That looks nice to visitors, but LCP only counts the fully rendered state.
  • Some sliders load every slide at once. Several large images then compete for bandwidth even though only one is visible.

Fixes, sorted by effort:

  • Ship the first slide visible in the HTML without waiting for JavaScript, and lazy-load only the remaining slides.
  • Remove animations from the first slide.
  • Ask whether you need a slider at all. A single strong hero visual is technically simpler and often clearer as a message too.

Cause 3: lazy loading on the wrong image and missing priority

Lazy loading makes sense for images further down the page. On the LCP image it hurts. The browser only loads an image with loading="lazy" once the layout is known and it is clear the image is visible. That stretches the load delay.

Common patterns on stores:

  • A theme or plugin adds loading="lazy" to every image, including the first product image.
  • A JavaScript lazy loader swaps src for an attribute such as data-src, so the real image is only requested after the script runs.
  • The main product image sits inside a gallery that, like a slider, is built by script.

How to set priority correctly:

  • Deliver the LCP image without lazy loading.
  • Add fetchpriority="high" to the LCP image to tell the browser it matters more than other images.
  • If the image is still discovered late, for example because it lives in CSS, a preload hint in the page head helps.
  • Use preloads sparingly. Preload too many files and you end up prioritising nothing.

Cause 4: web fonts, CSS and render-blocking scripts

If render delay is large even though the image loaded early, something else is usually blocking rendering.

  • Render-blocking CSS and JavaScript: large stylesheets and synchronous scripts in the page head hold up the first render. Scripts not needed for the first screen should load with defer or async. That includes tracking, chat and review widgets.
  • Web fonts: if the LCP element is text, such as a large heading, a font that hasn't loaded yet can delay it. With font-display: swap, the text appears immediately in a fallback font. Important fonts can be preloaded and served from your own domain, which avoids an extra connection to a third-party server.
  • Cookie banner: if the banner is injected by script and is the largest text element on mobile, it can become the LCP element itself. Your LCP then depends on how fast the banner script loads.
  • A/B testing and personalisation scripts that hide the page until they load also delay rendering.

Cause 5: slow server response time (TTFB)

Anything the server delivers late holds up every later step for the browser. A high TTFB pushes the whole LCP back.

Typical reasons on stores:

  • No page cache, or a bypassed one: platforms such as Shopware include an HTTP cache, but it doesn't help when cookies, cart contents or personalisation make every page unique.
  • Slow database queries, for example on category pages with many filters and variants.
  • Redirect chains: from http to https, from non-www to www, then to a language version. Each redirect costs another round trip.
  • Distance to the server: without a CDN, requests from distant visitors travel a long way.
  • Campaign parameters: depending on configuration, links with parameters such as gclid or utm_source can bypass the cache even though the page content is the same. That hits exactly your paid traffic.

Check TTFB in the PageSpeed Insights field data and compare page types. If only category pages are slow, the cause is different from a consistently high value.

Checklist: improving LCP on your store step by step

  • Check field data for homepage, category and product pages separately, mobile first.
  • Identify the LCP element for each page type.
  • Find the longest of the four phases: TTFB, load delay, load duration or render delay.
  • Deliver the LCP image as an img in the HTML, not as a CSS background and not via script.
  • No loading="lazy" and no JavaScript lazy loader on the LCP image.
  • Add fetchpriority="high" to the LCP image and use preloads only where needed.
  • Use responsive sizes with srcset and sizes, plus WebP or AVIF.
  • Make the first slide visible without JavaScript and without a fade-in.
  • Load non-essential scripts in the head with defer or async.
  • Use font-display: swap for web fonts and self-host important fonts.
  • Review page caching, redirects and how campaign parameters are handled.
  • Measure again after each change. Field data takes several weeks to catch up.

Next step: check your store's LCP and Core Web Vitals

For a quick overview, run our free self-check. It opens your homepage and a product page like a visitor and shows your Core Web Vitals from lab and field data in about a minute, with no sign-up.

Where does your shop stand?

The free self-check reviews tracking, consent, speed and basics of your shop in about a minute.

Check your shop for free