Your most important image loads last: LCP in practice
LCP measures how quickly the largest image or block on your page becomes visible. In webshops that is almost always an image, and it often loads later than necessary.
Largest Contentful Paint, or LCP, measures how long it takes before the largest element in view becomes visible. Google calls an LCP up to 2.5 seconds good and above 4 seconds poor, measured at the 75th percentile of your visitors. In a webshop that largest element is almost always an image: the banner on the homepage, the photo on a category page or the main image of a product.
The strange thing is that precisely that most important image often loads as one of the last.
Where the time goes
LCP consists of four parts:
- Server response. How long it takes before the first byte arrives.
- Load delay. How long it takes before the browser discovers that it has to fetch the image.
- Load time. How long downloading the image itself takes.
- Render delay. How long it takes before the image is actually on the screen.
In practice the biggest gain is often in step 2. The image isn’t too big and the server isn’t slow, but the browser only finds the image late.
Often the image isn’t too heavy. It’s simply found too late.
The usual suspects
- Lazy loading on the wrong image. Lazy loading is good for images further down the page. On the image that is in view straight away, it actually slows things down.
- An image that comes via JavaScript. A slider or carousel that only shows its first image after a script has loaded makes the browser wait.
- A background image in CSS. The browser only discovers it once the stylesheet has been loaded and processed.
- No priority. Without a hint, the browser treats the most important image like any other.
- One size for every screen. An image 2,000 pixels wide on a phone 400 pixels wide costs unnecessary download time.
What helps
Load the image that is in view straight away without lazy loading, and give it priority with fetchpriority="high". Put it in the HTML as a regular image, not in a slider or as a background in CSS. Use modern formats such as WebP or AVIF, and deliver a suitable size per screen size.
At Watercoolergigant, a product image that loaded too late was one of the points we found with RUM and fixed in a targeted way. On mobile the LCP went from 1.78 to 1.28 seconds.
Measure per page type
A homepage, a category page and a product page each have a different LCP element. So look per page type and per device, with real visitors. A test on your own laptop tells you little about a customer with an older phone on the train.
What to take away
- Find out per page type which element determines the LCP. In a shop that’s usually an image.
- No lazy loading, and priority instead, for the image that is in view straight away.
- Measure with real visitors, per page type and per device.

