Performance

Improving LCP: loading the main content at the right time

Pingsivo · 1530 words · Updated 7 October 2026

English editorial adaptation prepared with AI assistance. Hypothetical examples are labelled. Technical sources accompany the relevant explanations.

Identify the page's largest relevant content element in the tested context, then investigate document delivery, resource discovery, transfer and rendering. Compressing images can help some pages, but it does not solve every LCP problem. Use the observed element and timing evidence to select a correction, repeat comparable tests and follow field results separately.

Understand what the visitor sees

Begin with the main content visible to the visitor. It may be an image or a text block, and the candidate can differ between mobile and desktop layouts. Do not assume that a desktop hero image defines every device's experience.

Look at the loading sequence as well as the final screenshot. A page can look correct once complete while leaving its main content unavailable for too long.

The web.dev LCP optimisation guide describes the relevant phases. Use that framework to connect each delay with an observed part of the loading process.

Examine the document first

The browser needs information from the document before it can discover many resources. If document delivery is delayed, optimising a later image may leave an earlier bottleneck untouched.

Check redirects and the available response observations under the chosen profile. Do not invent a precise server-processing or DNS delay when the report does not contain those measurements.

Repeat under documented conditions. Cache state and remote responses can change between visits, so keep the method and environment visible in before-and-after comparisons.

Investigate when the main resource is discovered

A resource can transfer quickly once requested yet start late. Check whether the main image is discoverable in the initial document or depends on later styles or script-driven work.

The waterfall guide explains why start position and duration must be read separately. Reducing bytes will not necessarily remove a discovery delay.

Preloading or changing priority can be useful in a justified case, but competing resources still matter. Do not preload every large asset; test whether a particular change improves the actual main-content milestone.

Reduce weight without losing information

For an image-dominated page, inspect dimensions, format and the version delivered to each device. Sending substantially more pixels than the display needs can create unnecessary work and transfer.

Preserve useful detail and accessibility. A smaller file that makes product information unreadable is not a successful optimisation. Compare the visual result alongside the timing.

Check layout dimensions as well. An image optimisation should not introduce movement while loading. The CLS guide explains how to preserve stable space for media.

Do not overlook text-led pages

A text block can be the relevant content. Font loading, styles and rendering work may therefore matter more than the page's largest decorative image.

Investigate the actual candidate rather than applying an image-only checklist to every page. Check readable fallback behaviour and whether the content remains usable while resources arrive.

Avoid hiding meaningful text simply to obtain a different metric candidate. The objective is timely access to the content, not manipulating which element a measurement reports.

Prioritise with a concrete hypothesis

In a hypothetical example, a main image begins late after a script inserts it. Compressing it may help transfer time, but making discovery earlier addresses a different part of the problem. Measure each change rather than assuming their effects are identical.

Retain the original report and repeat the same profile several times. Inspect the median and spread as well as the visual sequence. A single exceptional result should not define the claimed improvement.

After the change, verify the page's real task. Performance work must preserve navigation, content accuracy, accessibility and error handling.

Follow field evidence and prevent regressions

CrUX and local Lighthouse results answer different questions. Check field scope, collection period and availability before comparing them. The CrUX guide explains URL-versus-origin data and reporting windows.

A deployed correction will not instantly replace every field observation. Record when it was released and track comparable periods without promising an immediate ranking or business outcome.

Use a performance budget to identify owners and alert conditions. A documented process is more durable than a one-off optimisation with no follow-up.

Follow the main content through a complete experiment

Select one representative route and identify the content visible in the tested viewport. Record whether the page contains a product image, article text, banner or another dominant element. A mobile layout may prioritise different content from a desktop layout, so keep those investigations distinct. The first useful question is which element the measurement identified and whether that corresponds to the visible experience you want to improve. Starting from a generic rule such as compress all images can miss the actual source of delay on the chosen page.

Preserve a baseline report and a loading sequence where available. Note the device profile, page state and relevant conditions. Then examine the stages that precede the main content becoming visible. Document arrival, resource discovery, transfer and rendering are different opportunities for investigation. The report may not expose every detail, so identify where additional browser inspection is necessary. Do not fill gaps in the evidence with precise-sounding estimates of server processing, DNS or rendering work simply to make the explanation appear complete.

In a hypothetical image-led page, the image transfer is not especially long but begins only after other work. That suggests investigating discovery and dependencies. In another hypothetical page, the image is discovered promptly but the delivered file is much larger than the display needs. That suggests a different intervention. Both pages can have an unfavourable main-content timing, but the same correction is not automatically appropriate for both. The value of the experiment is connecting the observed delay to a testable change instead of applying a universal optimisation recipe.

When changing image delivery, inspect the rendered result on relevant screens. A smaller file should retain the information the page needs, and dimensions should still reserve appropriate layout space. Check that responsive variants select suitable resources rather than delivering one oversized asset everywhere. If you change discovery or priority, verify which other resources compete during the same period. Earlier scheduling for one asset may affect another, so the final assessment should include the whole critical experience rather than only the start time of the chosen image.

Text-led pages require equally specific reasoning. Inspect the role of fonts, styles and rendering without assuming that an image is responsible because images are common optimisation targets. Preserve readable content while resources are pending. A change that makes a metric appear better by hiding meaningful content or altering the page's purpose is not a genuine improvement for the visitor. The experiment should keep the intended content and task intact so that before-and-after timings describe comparable experiences rather than two different products.

Repeat the selected profile after the intervention and retain the spread of results. A single favourable run can be encouraging, but it does not establish the typical effect of the change. Check visual stability and interaction behaviour too. If the main content arrives earlier but moves unexpectedly or leaves a control unresponsive, the correction needs further review. A useful report distinguishes the dimension that improved from any remaining or newly introduced problem, rather than declaring the page entirely optimised from one metric.

For deployment follow-up, record when the change became available and whether all relevant routes or variants received it. Compare field information using its stated scope and period. A local result can demonstrate an implementation effect under controlled conditions, while a field aggregate reflects a broader and delayed picture. Do not force them to match or treat an unavailable field value as a zero. Each source should support a claim appropriate to what it actually measures.

Finally, leave a maintenance note explaining the relationship that mattered. For example, identify why the main resource should remain discoverable at a particular stage or why certain dimensions must be preserved. This is more durable than recording only a favourable score. Future content and design changes can then be reviewed against the reason for the optimisation, reducing the chance that a later update silently recreates the original delay while everyone assumes the earlier performance work remains effective.

Keep content changes visible in the comparison. Replacing the main image with a different asset may change both the information and the workload. Explain that difference instead of presenting two unlike pages as an isolated technical optimisation.

FAQ: improving main-content loading

Must I compress every image to improve LCP?

Not necessarily. Identify the relevant element and delay first. Discovery, document delivery or rendering may be more important than the size of unrelated images.

Is the LCP element always the same on phones and computers?

No. Layout and viewport differences can change the candidate. Inspect the tested context rather than transferring a desktop assumption to every screen.

Does preloading an image guarantee improvement?

No. It changes resource scheduling and can create competition. Use it for a justified resource and verify the outcome under comparable conditions.

Why do field values not change immediately?

Field reports aggregate experiences across a period. Earlier sessions can remain represented after a release, and enough eligible observations are needed.

Can LCP improve without changing hosting?

Yes, some problems concern discovery, media delivery or rendering. Identify the observed bottleneck before deciding whether hosting is the relevant intervention.

Related guides and next steps