P18 - High Response time in Page Loading

Alert Properties Alert Description
Alert Name High response time in Page and Image loading
Code P18
Description The LCP score of the page is moderate or lower than expected, leading to a high response time required for page/ image loading
Level Warning

What is LCP?

The Largest Contentful Paint (LCP) metric reports the render time of the largest content element visible within the viewport. The overall threshold should be at least 75th percentile of page loads, to target most of the users.

  • 0-2.5 seconds is considered fast.
  • 2.5 to 4 seconds is considered as moderate and displays warning.
  • over 4 seconds is considered slow and displays an error.

LCP takes into consideration <img> elements, <image> elements inside an <svg> element, <video> elements, Block-level elements.

Pages with lower LCP scores would reduce the number of pages crawled by Google using their allocated crawl budget, and even negatively affects indexing of pages.

How to resolve the issue?

  • Enable compression
  • Minify CSS, JavaScript, and HTML
  • Reduce redirects
  • Improve server response time
  • Optimize images
  • Establish third-party connections early (example:<link rel="preconnect" href="https://example.com"> )

Tools to evaluate the speed of your site:

Read more