You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR tidies up the code around performance parsing and what we
respond with from our tools. It introduces the ability to have no
Insights from a trace (relatively rare, but can happen), and also adds
more information to the output in the event that something went wrong.
Previously we just logged errors, but if we respond with them here that
will also help users report issues and increase the chances that we can
debug them.
Metrics (field / real users): n/a – no data for this page in CrUX
66
+
Available insights:
67
+
- insight name: LCPBreakdown
68
+
description: Each [subpart has specific improvement strategies](https://web.dev/articles/optimize-lcp#lcp-breakdown). Ideally, most of the LCP time should be spent on loading the resources, not within delays.
example question: Which LCP phase was most problematic?
72
+
example question: What can I do to reduce the LCP time for this page load?
73
+
- insight name: LCPDiscovery
74
+
description: Optimize LCP by making the LCP image [discoverable](https://web.dev/articles/optimize-lcp#1_eliminate_resource_load_delay) from the HTML immediately, and [avoiding lazy-loading](https://web.dev/articles/lcp-lazy-loading)
example question: What can I do to reduce my LCP discovery time?
78
+
example question: Why is LCP discovery time important?
79
+
- insight name: RenderBlocking
80
+
description: Requests are blocking the page's initial render, which may delay LCP. [Deferring or inlining](https://web.dev/learn/performance/understanding-the-critical-path#render-blocking_resources) can move these network requests out of the critical path.
example question: Show me the most impactful render blocking requests that I should focus on
83
+
example question: How can I reduce the number of render blocking requests?
84
+
- insight name: DocumentLatency
85
+
description: Your first network request is the most important. Reduce its latency by avoiding redirects, ensuring a fast server response, and enabling text compression.
example question: How do I decrease the initial loading time of my page?
90
+
example question: Did anything slow down the request for this document?
91
+
- insight name: ThirdParties
92
+
description: 3rd party code can significantly impact load performance. [Reduce and defer loading of 3rd party code](https://web.dev/articles/optimizing-content-efficiency-loading-third-party-javascript/) to prioritize your page's content.
0 commit comments