Home Forums WoodMart support forum Avoid an excessive DOM size

Avoid an excessive DOM size

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #608659

    av_admin_1984
    Participant

    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?

    #608773

    Luke Nielsen
    Keymaster

    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

Viewing 2 posts - 1 through 2 (of 2 total)