Site logo

[Resolved] Reduce excessive DOM size

Home Forums Support [Resolved] Reduce excessive DOM size

Home Forums Support Reduce excessive DOM size

  • This topic has 1 reply, 2 voices, and was last updated 5 years ago by Elvin.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1708776
    Bob

    On two of my top visited pages

    https://www.tawcan.com/dividends
    https://www.tawcan.com/best-canadian-dividend-stocks/

    I’m getting Avoid an excessive DOM size warning on Google PageSpeed (>2500 elements). Similarly on GTMetrix I’m getting the same warning on my main page.

    Are there ways to reduce the number of DOM elements? I’m not sure if this is caused by one of the plugins I’m using or not.

    #1708863
    Elvin
    Staff
    Customer Support

    Hi there,

    Are there ways to reduce the number of DOM elements? I’m not sure if this is caused by one of the plugins I’m using or not.

    Generally, the way to deal with this is to reduce the number of contents you’ve added to the page/post.

    If it’s possible to put all things in 1 block, go for it.

    If you’ve added forms that you find unnecessary now, remove them as well.

    This is pretty tricky to do considering the context of your site as the contents added are a lot and it looks like all of them are important.

    If you can rewrite your content to make it shorter, that would be very ideal to reduce the number of elements.

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