Optimize DOM Size
Total number of DOM nodes and nesting depth on the page.
Why it matters
Large or deeply nested DOMs increase memory usage and slow style and layout calculations, which can hurt Interaction to Next Paint on mobile devices.
How to fix it
- Remove hidden or unused DOM elements rendered into the document.
- Paginate or virtualise long lists or tables instead of rendering everything at once.
- Flatten unnecessary wrapper elements in templates and components.
- Trim the largest repeated node groups first.
Where to find it
This finding is reported in the PageSpeed tab, and appears in Findings under the matching severity.
A term you don't recognise is defined in the glossary.
Other pagespeed findings
- Document Request Latency
- LCP Request Discovery
- Render Blocking Requests
- Network Dependency Tree
- Use Efficient Cache Lifetimes
- Layout Shift Culprits
- Improve Image Delivery
- Forced Reflow
- Legacy JavaScript
- Duplicated JavaScript
- Avoid Enormous Network Payloads
- Minify CSS
- Minify JavaScript
- Reduce Unused CSS
- Reduce Unused JavaScript
- Reduce JavaScript Execution Time
- Minimize Main-Thread Work
- Font Display
- Third Parties
- LCP Breakdown
- Avoid Long Main-Thread Tasks
- User Timing Marks and Measures
- INP Breakdown
- Optimize Viewport for Mobile
- Avoid Non-Composited Animations
- Image Elements Have Explicit Width and Height
Findings library, by category.