Skip to main content

Reduce JS content

Comments

2 comments

  • Infofuturo García García

    We install lite speed cache and now DOM size is 2138, anyway to keep improving? its too much yet.

    0
  • KC George

    Hi

    DOM size is predominantly a function of the length of the page. The longer the page, the higher the DOM size normally is. For example, here is a comparison of two Brizy Cloud websites

    1. https://www.brizy.io/  DOM size: 4664 elements. 
    2. https://smartlearning.brizy.site/ DOM size: 808 elements. 

    The primary difference between the two is that https://www.brizy.io/ has a long homepage with 12 sections whereas https://smartlearning.brizy.site/ has a shorter homepage with 6 sections.

    DOM size can also depend on the efficiency of the builder. For the same length of a page, two builders may have slightly different DOM sizes.

    Both the factors are difficult to change. The length of the page cannot be reduced. A builder cannot improve its code efficiency overnight as well; Making the code more and more efficient is an ongoing effort.  

    0

Please sign in to leave a comment.