Page 1 of 1

DOM size Nodes

Posted: Tue Mar 29, 2022 9:31 am
by wwonderfull
I was testing a site where I suddenly see there are too many nodes generating.
One more thing is that I used about 14 lotte animations which clearly increased the number of nodes and stated in an SEO checkup.
The Document Object Model (DOM) of this webpage has 11,857 nodes which is greater than the recommended value of 1,500 nodes. A large DOM size negatively affects site performance and increases the page load time.

Basically speaking too much nodes generating how to reduce it. can it be because of the settings below.
let me know thanks.

Image

Re: DOM size Nodes

Posted: Tue Mar 29, 2022 10:09 am
by Pablo
The only way to reduce nodes is by removing elements from the page. All 'nodes' are need otherwise they would not have been added to the page in the first place.
Obviously, Lottie animations add extra nodes otherwise the element cannot be animated.
This is unrelated to WWB.

Re: DOM size Nodes

Posted: Tue Mar 29, 2022 10:20 am
by wwonderfull
Pablo wrote: Tue Mar 29, 2022 10:09 am The only way to reduce nodes is by removing elements from the page. All 'nodes' are need otherwise they would not have been added to the page in the first place.
Obviously, Lottie animations add extra nodes otherwise the element cannot be animated.
This is unrelated to WWB.
Yes I know it is unrelated to WWB just thought if the settings did something wrong :D
Thank You pablo.