Avoid an excessive DOM size - by Trung Trịnh

This topic has 14 replies, 2 voices, and was last updated 2 years, 7 months ago ago by Trung Trịnh

  • Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 1, 2021 at 09:59

    Hi,
    Can you please help me to solve the problem
    A screenshot here: https://prnt.sc/1qxtr7i

    Thank you

    13 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 1, 2021 at 10:22

    Hello,

    Read these posts about DOM https://docs.wp-rocket.me/article/1412-avoid-an-excessive-dom-size https://isotropic.co/avoid-an-excessive-dom-size-on-your-wordpress-website/
    Edit your page and Product elements and enable Lazy loading for the Product elements. It should reduce the DOM structure. Also, you may try to reduce the DOM results on the page by reducing the number of sections of the page/elements in the footer or header.

    Regards

    Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 1, 2021 at 10:43

    I did it but it gave me another problem when I choose Lazy loading for the Product elements: https://prnt.sc/1qxwlpe

    The products does not display (Blank area) if If I choose Lazy loading like this: https://prnt.sc/1qxwjbp

    This discovered this problem a month ago.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 1, 2021 at 12:17

    Hello,

    Try to disable all the third-party plugins (including cache plugins), that do not come bundled with XStore https://xstore.helpscoutdocs.com/article/36-included-plugins , clear cache of browser, and check then.
    If the problem is independent of plugins, provide URL and temporary wp-admin access, so we can take a closer look.

    Regards

    Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 1, 2021 at 13:12

    I disabled all plugins but the error still there.

    I send here the wp-admin so that you can check. Thank you

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 1, 2021 at 14:23

    Thanks for the reply. Please provide FTP access, I will pass this problem to our developers. Contact your hosting provider if you don’t know what FTP is.

    Regards

    Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 1, 2021 at 14:41

    Thank you. I sent it here including new password to access the wp-admin.
    Please also tell me what do you do to fix this problem later, so I can do it myself later if there is any same thing.

    Please contact administrator
    for this information.
    Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 1, 2021 at 15:36

    Is the developer team still working at this time?

    Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 2, 2021 at 00:17

    Good day,
    is there any updates regarding my problem?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 2, 2021 at 07:56

    Hello,

    Sorry for the delay in answering.
    Just note that reply times can vary from time to time and be up to 24 hours Monday – Friday and up to 48 hours on weekends, Sat-Sun. But is usually faster than that.

    1/ Do you need this option enabled http://prntscr.com/1r0jzxi (we disabled it) because we found no products with custom variation galleries ?
    2/ Do you need this option enabled http://prntscr.com/1r0k6ki (we disabled it) because we found that all your attributes are set to select type -> http://prntscr.com/1r0k9xv and you are using custom swatches from AliDropship plugin -> http://prntscr.com/1r0kbrl
    If you don’t use some options please, keep them disabled to prevent parsing/checking in code and slowing down site load if you don’t use it.
    Also, we have disabled lazy-load for first products element (because it is at most top of page and mostly is on screen by first load ) but enabled lazy-load options for next ones on home page. If you need you may enable/disable for any but in our opinion we did as it should be better for most cases.
    Results now -> http://prntscr.com/1r0ksrg https://gtmetrix.com/reports/falystore.com/Sx3Wgsc9/

    Regards

    Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 2, 2021 at 08:49

    Thank you. It is working now. Can you please tell me how did you do to fix that problem?

    Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 2, 2021 at 09:09

    Also the slow saving when editing page using Elementor was also fixed. I’m very happy with that. Can you pls tell me what’s wrong so that I can fix my another website also using Xstore theme. It is having the same problem.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 2, 2021 at 14:06

    Hello,

    You’re welcome!
    These 2 options https://prnt.sc/1r0jzxi https://prnt.sc/1r0k6ki were disabled. Lazy-loading was activated for products on the Home page, except the first block.

    Regards

    Avatar: Trung_Trinh
    Trung Trịnh
    Participant
    September 3, 2021 at 06:43

    So you mean, the problems were fixed by just performing inactive the 2 options. Thank you Rose for your help :))

  • Viewing 14 results - 1 through 14 (of 14 total)

The issue related to '‘Avoid an excessive DOM size’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.