• hi, i am getting the google speed report that my site has excessive dom, is there a way to reduce the usage of dom without change the site layout?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support karlalevelup

    (@karlalevelup)

    Hello,

    Thank you for reaching out to us and apologies for the delay in getting back to you!

    Upon checking your home page in Google PageSpeed Insights, the element "<ul class="iti__country-list iti__hide" id="iti-0__country-listbox" role="listbox" aria-label="List of countries">" has the largest size of child elements. Inspecting your page, I can see that this is from your form’s flag selector for the phone number.

    I would recommend asking the form plugin support if there can be a way to change the layout for that to minimize the child HTML elements used for the field.

    Preventing an excessive DOM size for your webpage isn’t easy as there is no one-size-fits-all solution. What I could recommend in decreasing the DOM size is to decrease the blocks being used on a page.

    Kind Regards,
    Karla

Viewing 1 replies (of 1 total)

The topic ‘excessive dom’ is closed to new replies.