How to reduce an excessive DOM size
Pages with thousands of elements are slow to style, lay out and interact with. Page builders and mega menus are the usual culprits.
Step by step, with screenshots: Divi performance: the settings that actually cut page weight →
Check your own site
Runs this check and the other 186, free, in about 45 seconds.
What a passing site looks like
- Page element count: passeswarning · −2 ptseffort L
Page element count
Why it matters. Every element costs memory, style calculation and layout time. Very large pages feel sluggish on phones and make layout shifts more likely.
- Remove hidden or duplicated markup (mobile and desktop menus rendered twice, off-screen sliders).
- Paginate or lazy-render long lists and product grids.
- Simplify page-builder nesting — each wrapper div counts.