LCP request discovery

The Largest Contentful Paint (LCP) element is the largest image, text block or video that is visible without scrolling the page. For best performance and user experience, this element should be loaded as fast as possible. LCP request discovery is one of PageSpeed's audits related to optimizing this metric.

Optimize LCP by making the LCP image discoverable from the HTML immediately, and avoiding lazy-loading.

Understanding LCP request discovery

When the LCP element is an image there are 3 criteria to passing this audit: 

  1. The image should not be LazyLoaded
  2. The image should be loaded with high priority, using fetchpriority=high on the image element.
  3. The image should be found directly in the HTML source of the page (not loaded indirectly from within another file) and/or preloaded. 

How to improve LCP request discovery with WP Rocket

WP Rocket's Optimize Critical Images feature applies the required optimizations automatically.

When the LCP element is text, WP Rocket's Preload Fonts feature will help.

Please refer to our in-depth guide on improving Largest Contentful Paint overall, for further tips.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.