🚀 Launch countdown

9 December 2026

PageSpeed

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

  1. Remove hidden or unused DOM elements rendered into the document.
  2. Paginate or virtualise long lists or tables instead of rendering everything at once.
  3. Flatten unnecessary wrapper elements in templates and components.
  4. 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

Findings library, by category.