[Support request] Excessive DOM Size

Home Forums Support [Support request] Excessive DOM Size

Home Forums Support Excessive DOM Size

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #2431538


    The page linked below has 2,557 elements (an excessive DOM size).

    I can’t find out what 2,557 is made of so I don’t really know what the cause it.

    Could the navigation be causing it?

    Customer Support

    Hi Nicole,

    What happens if you disable all plugins non-GP plugins?

    Let me know 🙂


    Is there any other way to check? If I do that then the site won’t be functional for a while and I don’t know how to set up a staging site.

    Customer Support

    Hi Nicole,

    To begin with, everything in an HTML document is a node, and once your node count in your HTML exceeds 800, a warning will be raised.

    To put that into perspective – generatepress.com has less than 20 nodes.

    Here are some recommendations to resolve this: https://www.corewebvitals.io/pagespeed/fix-avoid-excessive-dom-size-lighthouse

    Leo’s suggestion to disable plugins is meant to check if other plugins are adding high amounts of nodes to your HTML. Another way to check this is by using a Staging site so you can disable plugins safely.

    An alternative would be to move other stuff on this page to another page. Adding a WordPress Page Break block should allow you to do this. Reference: https://wordpress.com/support/wordpress-editor/blocks/page-break-block/

    Hope this clarifies!


    Thanks very much for the explanation. I will check it out.

    Customer Support

    You’re welcome Nicole!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.