Which element is measured by LCP in the first screen time, and why are image sites prone to measurement bias?

📅 October 12, 2026 👁️ 16

The LCP measures the time it takes for the **image or text block** within the viewport to complete rendering, counting from the start of the page load. Therefore, it does not measure whether 'content on the first screen has appeared', but rather 'when the large content block on the first screen is actually rendered'. Websites that are image-heavy are prone to misjudgment, the reason being the rules for determining candidate elements: background images, video covers, and lazy-loaded images can change who the **element** is, and may even push it to be rendered last.

Which elements will enter the candidate list

The elements involved in the judgment include ordinary images, embedded vector graphics, video cover frames, images loaded as background styles, and blocks composed of text nodes. The judgment is based on the rendered area, not the position written in the code. This leads to three typical types of deviations.

**Class is background image deviation. The large image on the first screen, if loaded using the style background method, is discovered by the browser later than the image tag in the document: it needs to parse the style, then initiate the request, and then decode and render. For the same number of bytes, the image loaded via the background method often appears on the screen later than the image loaded via the tag method, and it is also a large element on the first screen, directly becoming a candidate for LCP.

The second type is the lazy loading bias. Adding a delay to the first screen image is equivalent to telling the browser not to fetch it. The strategy of loading only when scrolling into the viewport is beneficial for long lists, but it has a negative effect on the main image of the first screen - the delay loading pushes the **element** to after interaction, and the time measured naturally deviates.

The third type is the aperture shift caused by placeholder and real image alternation. On a page with blurred placeholder or skeleton screen, the placeholder is drawn first, followed by the real image, and the **current element** will change between the two drawings. The difference in sampling points can be very large, which is also a common reason why the results of the same page are not aligned in different testing tools.

Why is the bias measurement of the image station more concentrated

The three features of an image station are all hit simultaneously: many single-page images, large size, and layout relies on style control. This is particularly obvious on list pages, where the **elements** in the thumbnail matrix depend on the current viewport size. The candidates for desktop and mobile may be completely different, and the time measured on both ends is not comparable.

There is a type of deviation coming from the text layer. The layout of the title pressing on the image, if the font needs to be downloaded separately, the rendering of the text block will be later than the background image, at this time, whether it is the image or the text block for **content rendering depends on the area comparison. When encountering such pages, a more stable approach is to look at the identifier of the rendering element rather than just the total time to determine which part needs to be optimized.

What can server-side rendering and automatic image matching change?

The technical stack of AnQiCMS is Go language with Iris framework and GORM, the page is assembled on the server and returned, the official stance is that the page loading speed is significantly improved compared to traditional PHP CMS. For LCP, the practical significance of server-side rendering lies in the determination of the structure of the first screen: the document is returned with the label and size information of the main image, so the browser does not have to wait for the script to be executed to know which image to fetch. In the case of dynamically assembled pages, the situation is reversed - when the image is injected by the script, the opportunity to enter the candidate is delayed, and the measured time includes the script execution section.

The title auto-assigns images affecting the other end: images are distributed by the system based on the title content. When the size of the assigned image is too large or not pre-generated in the appropriate specifications, the first screen directly bears the volume of the original image; conversely, if the image allocation process provides the size that is already adapted, the number of bytes on the first screen will decrease significantly. Aligning the image allocation process with the display size is a step that makes the image station more cost-effective.

Optimize the order first, confirm the candidate elements, and then decide which ones to move: change the main screen image to the document tag, remove the lazy loading on the main image, replace the background image with preloading, and write explicit width and height on the images to avoid area jitter. After completing these four steps, discuss volume compression, otherwise, it is easy to waste effort on elements that are not candidates.

Common questions

Question: If there is no image on the first screen, but the LCP is short, is it possible?
Answer: Possible. Text blocks also participate in the judgment. When the page first renders a large area of text, the candidate is the text block, which is unrelated to the image.

Question: Should lazy loading be turned on for the entire site?
Answer: Do not cut all at once. The main image on the first screen is not suitable for lazy loading, the thumbnails below the long list are more suitable; the demarcation line is generally taken after the content of the first screen.

Question: The numerical difference between mobile and desktop is very large, which one should be changed?
Answer: Modify each candidate element separately. The two ends **elements** are often not the same block, and it is easy to change the wrong object when using a set of optimizations to cover both ends.

Related articles

Will submitting new addresses in bulk occupy the crawling quota, and how is the rhythm of IndexNow determined?

To submit new addresses in bulk to search engines is just to notify the other party that "there is a change", but the actual crawling still consumes the site's crawling quota. This article explains why submission and crawling are two separate things, what the key file is checked for, why pushing too much at once is actually worse, and provides a method for submitting in batches according to the release rhythm, as well as how to coordinate with scheduled releases for in-site link submissions.

2026-10-12

How to divide the work of the index file of the site map and the sub-maps, and where are the places that are easy to make mistakes.

When the number of sitemap exceeds the limit of a single file, it is necessary to summarize multiple sub-maps using an index file. This article explains the two limits of a single file according to the original protocol, what the index file and sub-maps each bear, and lists the three most easily mistaken points after splitting: wrong sub-map address, non-compliant encoding, and generation date not consistent with the actual modification date, and finally gives the items that should be checked for the automatically generated products on the site.

2026-10-12

How to allocate the division of labor for full-page translation and multilingual site configuration, what should be paid attention to in the operation of foreign trade websites

When doing multilingual websites, it is often considered the same thing to translate the entire page and configure the multilingual site. The former solves the output of translations at the content level, while the latter solves the language attribution at the site and domain level. The two tasks are different in division of labor and rework costs. This article explains what each line manages, how to determine the address and switch entry, and the three types of pitfalls that are most easily stepped on in operation.

2026-10-12

Why is the security announcement published in advance, and what should be done during the preview window period?

The security announcement is published in advance to allow for a集中落地 of a batch of fixes and to provide a preparation window for users. Taking the Drupal official preview as an example: A critical-level issue in the Webform project is scheduled to be released between 17:00 and 21:00 UTC on September 23, 2026. This article explains the reasons for the preview and provides four types of actions during the window period: inventory of affected modules, convergence of write surfaces, scheduling upgrades and verification, and preparing rollback points.

2026-10-12

Is llms.txt a mandatory standard? What will sites lose if they do not perform this step?

llms.txt is not a mandatory standard, but a community proposal still under discussion: the file is written in Markdown for site descriptions and resource lists, with top-level headings being mandatory paragraphs. Not including this file will not trigger any crawling penalties, the cost being that the model will have one less level of navigation when extracting content. This article describes which formats are fixed in the proposal, what can be achieved, and where the automatically generated file is connected in the site.

2026-10-12

After the crawling behavior is divided into several categories, how should the site's release rules be adjusted accordingly.

Divide the automated capture into three layers according to behavior - for subsequent answer collection and indexing, for model training capture, and for replacing users to fetch pages in real time, the benefits and costs of the three types are completely different. This article explains why domain-based access is not enough, how the access rules should be layered, and why the robots only expressing intention determines that it must be used in conjunction with content-side protection.

2026-10-12

When old versions only patch security vulnerabilities, should we wait for the main branch to upgrade features?

The security patch and feature upgrade follow two timelines. Taking the recent WordPress 7.1.3 as an example, the official has patched the security fixes back to the old branches that still qualify, while reminding that only the latest version is actively supported. This article explains the difference between active support and security support levels, why feature improvements have to wait for the main branch, and what order to judge when arranging the upgrade timeline for the site.

2026-10-12

The XSS triggered when the comment is opened in the background, where should the content system prevent it?

Some cross-site scripting attacks are not triggered on the front end, but are executed when administrators open pending comments on the backend. This type of vulnerability has a completely different protection location than the front end. This article takes the recently fixed WordPress 7.1.3 comment management page stored XSS as an example, explaining why the secondary context is an independent attack surface, why input filtering is not enough, and the three layers of protection that need to be done on the backend: output escaping, permission boundaries, and content review.

2026-10-12