Avoid an excessive DOM size
-
Hi
Google Page speed shows this error:
Avoid an excessive DOM size
in your demo, you can see this is about full HTM DOM
https://pagespeed.web.dev/analysis/https-woodmart-xtemos-com-vegetables/dhnfiw62pb?form_factor=mobile
In our site, it shows the woocommerce-Price-currencySymbol
We are using the AJAX Products tabs or other elements in elementor from woodmart theme
What should we do to prevent this error?
Hello,
The number of DOM elements are generated in the process of content building. All page builder elements are DOM elements. If you want to reduce DOM elements you will have to reduce the content: widgets, products, menu items, and others.
Either create a Mobile version HTML block – https://take.ms/zTEG4, that mobile version will work only with the enabled separate cache for mobile devices which is available in the WP Rocket plugin.
Kind Regards