Largest Contentful Paint (LCP) measures when the largest visible content element in the viewport has loaded, representing the perceived loading speed.
is one of the and measures the point at which the largest visible element in the viewport has finished loading. This is often a hero image, a product image, a large heading or a large block of text. A good LCP value is no more than 2.5 seconds.
A poor LCP is often caused by a large, uncompressed hero image, a slow server, , on the most important image or missing image prioritisation. You can improve LCP by, for example:
compressing the main image and serving it as or AVIF,
providing with srcset,
not lazy-loading the LCP image but prioritising it with fetchpriority="high",