LCP: the big thing appears

Play this lesson

The key art arrives last

Shard Garden's web page opens with big key art: four friends defending a garden on a drifting shard. Priya's field data says phones wait 3.6 seconds for it.

Largest Contentful Paint (LCP) is the time until the biggest image or text block on screen is drawn. Good is 2.5 seconds or less, poor is over 4. To fix 3.6 seconds, we need to know which part of those seconds is slow.

What can be the LCP element

Quick check

Shard Garden's page has a game canvas, a "Play with friends" headline and the key art image. Which one can never be the LCP element?

  1. The game canvas
  2. The headline
  3. The key art image
Show the answer

The game canvas

A canvas is not on the list of LCP elements. Images, videos, background images and blocks of text are.

Four parts of LCP

The targets come from web.dev. Any part far above its share is the place to start.

Read the numbers

LCP breakdown, phones, ms
Time to First Byte      600Resource load delay    1900Resource load duration  800Element render delay    300---------------------------LCP                    3600

Which part is far over its target share?

  1. Resource load delay
  2. Time to First Byte
  3. Element render delay
Show the answer

Resource load delay

1,900 of 3,600 ms is about 53%, and the target is under 10%. The browser waits almost two seconds before it even starts downloading the key art.

Why the browser starts late

A long load delay means the browser found the image late or gave it low priority. Common causes:

Fixes: a real <img> in the HTML with fetchpriority="high". If the image must live in CSS, add <link rel="preload" as="image" fetchpriority="high"> so the browser starts it at once.

Bug hunt

index.html
<h1>Shard Garden</h1><img src="key-art.avif"  loading="lazy"  width="1200" height="675"  alt="Four friends"><p>Defend a garden.</p><img src="badge.png"  loading="lazy"  width="160" height="48"  alt="Get it on Play">

The key art is the LCP element, and the store badge sits at the bottom of the page. Which line should change?

  1. Line 1
  2. Line 3
  3. Line 8
Show the answer

Line 3

Line 3 lazy-loads the LCP image, so the browser waits before fetching it. It should say fetchpriority="high" instead. Lazy-loading the badge on line 8 is fine, because it is far down the page.

The other three parts

Quick check

Kai should add loading="lazy" to the key art so the rest of the page loads faster.

Show the answer

False

Lazy loading makes the browser wait before fetching the image. For the LCP element, that only adds resource load delay.

From looking to tapping

Fast key art gets players to the Play button. What happens next matters just as much: every tap in the garden has to answer quickly.

Bolt says: Next: INP, the number that measures every tap, click and key press.

Fact-checked 11 October 2026