How to Solve: “Avoid an Excessive DOM Size” in WordPress

Google Lighthouse’s ‘Avoid an excessive DOM size’ warning is a performance metric you’ll want to look out for. The Document Object Model (DOM) aspect of this lets scripts access and manipulate the elements of your site. This includes your HTML and CSS. However, a large DOM size can cause performance issues, maintenance problems, and much more. First, let’s help you understand what it means.

This post was originally published on CodeinWP by Tom Rankin.

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.