Explain LCP
explain_lcpDiagnose a slow Largest Contentful Paint by splitting it into four load phases: server response, image fetch delay, download, and paint delay. Pinpoints which phase owns the delay when LCP is the problem.
Instructions
Use when Largest Contentful Paint is the problem, to find which part of the load owns it; for the LCP figure alone use get_field_data, and for lab scores and what to fix use analyse_page. Breaks a slow LCP into the four phases it is made of: server response, then the delay before the browser starts fetching the largest image, then the download, then the delay before it is painted. FAST, one Chrome UX Report call, no Lighthouse runs and no noise to average away. TWO THINGS NOT TO GET WRONG, both reported in the output: the phases are each a separate 75th percentile so they do NOT sum to the LCP (measured gaps range from -421ms to +2616ms across twelve real origins, in both directions) and the shares are of the phase total, never of the LCP; and they are measured ONLY over visits whose largest element was an image, which on some sites is a small minority, so the output gives the image share alongside them. Needs an API key and real-user data, which many small sites do not have.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | No | Absolute http(s) URLs. Defaults to saved URLs. |