SEO & Speed Optimization

Improve Largest Contentful Paint (LCP): Make Your Main Content Appear Faster

LCP measures when the main content appears. It's usually your hero image or headline. Here's a step-by-step plan to improve it.

In this article · 10 sections
  1. Step 1: Identify your LCP element
  2. Step 2: Understand the four parts of LCP
  3. Fix 1: Faster server response
  4. Fix 2: Discover the image early
  5. Fix 3: Make the image smaller
  6. Fix 4: Remove render delay
  7. Fix 5: Text LCP
  8. Mobile first
  9. Verify
  10. FAQs
  11. Is a slider bad for LCP?
  12. Does a CDN alone fix LCP?

Largest Contentful Paint (LCP) measures when the largest visible element (usually the hero image, a banner or the main headline) finishes rendering. A "Good" LCP is 2.5 seconds or less for real users. Here's a step-by-step plan to improve Largest Contentful Paint.

Step 1: Identify your LCP element

PageSpeed Insights shows the LCP element under diagnostics. Common ones: - Hero image or background image - Large heading text - Product image on product pages - Featured image on blog posts

Step 2: Understand the four parts of LCP

  1. Time to First Byte: server response
  2. Resource load delay: how long before the browser starts loading the LCP image
  3. Resource load time: downloading the image
  4. Render delay: time until it's actually painted

Fix the biggest part first.

Fix 1: Faster server response

Caching, PHP version, database queries and hosting. See reduce TTFB.

Fix 2: Discover the image early

  • Use an <img> in the HTML, not a CSS background added later
  • Don't lazy-load the LCP image
  • Add fetchpriority="high":
<img src="/images/hero.webp" width="1200" height="675" alt="..." fetchpriority="high">
  • If the image must be a CSS background, preload it:
<link rel="preload" as="image" href="/images/hero.webp" fetchpriority="high">

Fix 3: Make the image smaller

Fix 4: Remove render delay

  • Minimise render-blocking CSS/JS. See eliminate render-blocking resources
  • Avoid hero content hidden by JavaScript until animations run (fade-ins on the hero can delay LCP)
  • Avoid sliders where the first slide waits for scripts

Fix 5: Text LCP

If the LCP element is text, make sure fonts don't block it: font-display: swap, preload the heading font. See web fonts and speed.

Mobile first

Mobile LCP is usually worse. Consider a smaller or simpler hero image on mobile, or a text-first hero. See hero section design.

Verify

Re-test in PageSpeed Insights; check field data in Search Console over the following weeks.

FAQs

Is a slider bad for LCP?

Often, yes: heavy scripts and multiple large images delay the first slide. A static hero is usually faster.

Does a CDN alone fix LCP?

It helps image delivery, but server response, render-blocking resources and image priority matter too.

Joboo Web optimises hero sections for fast LCP on every site we build. Get a speed review.

Was this article helpful?

Your answer helps us improve our guides

Share this article

Joboo Web

Web design, SEO & digital marketing team · Ludhiana, Punjab

Joboo Web has helped Indian businesses grow online since 2019 — building fast websites and running SEO, Google Ads and social campaigns for clients in 80+ cities. About us →

Keep reading

💬
👋 Need a website or more leads? Ask me!