How to FIX Avoid an excessive DOM size [SOLVED]

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ม.ค. 2025

ความคิดเห็น • 46

  • @LetsCreateYourWEBSITE
    @LetsCreateYourWEBSITE  ปีที่แล้ว

    Hey there fellow web enthusiasts! Join the channel here th-cam.com/channels/NAp3ihoUg5jlbr_vCEZ3MA.htmljoin
    If you're passionate about web development like I am, then you've come to the right place!
    Subscribe to my channel and join on this epic journey to master Websites.
    Together, we'll build amazing websites, crush bugs like the Dark Knight, and create web experiences that'll make the Joker green with envy. So what are you waiting for? Hit that subscribe button and let's make the web a better place, one line of code at a time!
    tinyurl.com/DontclickWINK

  • @BaigsvLog
    @BaigsvLog ปีที่แล้ว +9

    shorten this video, don't waste time.. thanks it worked.

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  ปีที่แล้ว

      You're welcome! thanks for the feedback, i will keep in the mind.

  • @1989lavi
    @1989lavi 11 หลายเดือนก่อน +2

    I have drop down list of 197 country . The Page Speed show this error:
    Please Select Afghanistan Albania Algeria Andorra Angola Antigua and Barbuda Ar…
    How can I solve an Excessive DOM size?

  • @plusonlinemarketing
    @plusonlinemarketing 8 หลายเดือนก่อน +2

    I cant find dom size option in my elmentor

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  8 หลายเดือนก่อน +1

      Did you try to change the site structure to reduce the containers on the page? What is your dom size in page speed report!

  • @AbidHussain-pk4xt
    @AbidHussain-pk4xt 6 หลายเดือนก่อน +2

    Can you guide me in my elementor settings DOM Size option not showing?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  5 หลายเดือนก่อน

      update the plugin to see the latest options also I created a video recently covering elementor's new speed boost features

  • @hollyrorienetwork
    @hollyrorienetwork 6 หลายเดือนก่อน +1

    A pattern appears that DOM size is affected by the amount of tags, as well as the embedded links to other pages or sites within the content. Is that accurate?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  6 หลายเดือนก่อน

      Yes true, try to crate the page keeping in the mind no to use lot if elements. it is possible to do that as I shown in the example. Another examples could be not using the mega menus as they are huge in elements. For ecommerce instead of a cart show in click, redirect users to the card page directly.

  • @ismail35651
    @ismail35651 ปีที่แล้ว +1

    Good content, please what is the plugin that shows ....just purchased in 5:32

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  ปีที่แล้ว

      Thanks for the comment, it is a slider plugin I just shown for example. I would not suggest you to buy that one as there are many free plugins available to create sliders.

  • @sanjaya461
    @sanjaya461 2 หลายเดือนก่อน +1

    Hi any trick for spectra page builder for dom size?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  2 หลายเดือนก่อน

      hello Sanjay, so that concepts I explained in the video can also be applied to spectra. of course it is a different page builder but principles are same.

  • @sanjaya461
    @sanjaya461 2 หลายเดือนก่อน +1

    Can we reduce Dom size by using GZip compression in .htacess file? Does it works?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  2 หลายเดือนก่อน

      so gzip compressions is not for the DOM size reduction. Gzip reduce the size of the data transferred from the server to your website. For dom size reduce the number element on the page, do not use mega menu or too many child menus. Less elements on page = less dom size. I commented on your another comment too with more info

  • @punjabitalkies5325
    @punjabitalkies5325 7 หลายเดือนก่อน +1

    hey brother, I arranged wordpress home screen in admin panel and today I found that their position is changed which was not done by me. Is it possible that they can change theirt position automatically

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  7 หลายเดือนก่อน

      hey brother, sorry for late reply. no - it does not happen automatically. check if some else have the access to the site. change passwords and set up wordfence and antimalware plugin on the site. check my channel for wordfence and antimalware videos. let me know if you found something.

  • @kellydavidson9262
    @kellydavidson9262 ปีที่แล้ว +1

    Hi there, how can we reach out to you for personal assistance on our website ?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  ปีที่แล้ว

      Hello Kelly, You can send me an email at programwarrior@gmail.com

  • @javiers.c.8537
    @javiers.c.8537 ปีที่แล้ว +2

    gracias

  • @shahidrahim2960
    @shahidrahim2960 ปีที่แล้ว +1

    why i am not getting such result
    Performance
    79
    Accessibility
    100
    Best Practices
    84
    SEO

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  ปีที่แล้ว

      Hello.. Every website is different so it can provide different results.. What is the errors showing now in Google page speed?

  • @GameVGain
    @GameVGain ปีที่แล้ว +1

    we don't have elementor, what should we do? should we buy elementor? Are you advertising to us?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  ปีที่แล้ว +3

      Seems like you haven't seen watched the videos carefully. I covered everything that what is DOM size and how you can reduce it. Along that I covered elementor as an example too. And I don't understand why you said that you should buy elementor, where specifically I recommended not to use elementor but use a lightweight free page builder like Gutenberg. Also elementor is free to use. I don't have your website url but watch the video again and try to reduce the page size my adding nodes carefully, do not nest the nodes inside each other. If you have some specific questions other then allegations then I will be superhappy to help you out. This channel is all about helping people as a by product If I make some money that is a plus. I would never adverstize anything I don't believe in. Good luck and let me know if you want a genuine help.

    • @GameVGain
      @GameVGain ปีที่แล้ว +2

      @@LetsCreateYourWEBSITE Thank you bro for your nice comment. I was rude

  • @jasminazman8901
    @jasminazman8901 ปีที่แล้ว +2

    VERY HELPFUL. THANK YOU!

  • @MrEagle2050
    @MrEagle2050 5 หลายเดือนก่อน +1

    How to do it for shopify?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  5 หลายเดือนก่อน

      hello here if some things you can do in shopify to reduce DOM size
      1. Optimize Shopify Theme
      Choose a Lightweight Theme: Select a Shopify theme known for its performance and minimalistic design.
      Minimize Theme Customizations: Avoid excessive customization that can add unnecessary elements to the DOM.
      2. Clean Up Your Liquid Templates
      Remove Unused Sections: Delete any sections or snippets that are not in use.
      Simplify Liquid Logic: Simplify complex Liquid logic and loops to minimize the number of elements rendered.
      3. Optimize HTML Structure
      Reduce Nested Elements: Avoid deeply nested HTML elements as they increase the DOM size.
      Use CSS Instead of Inline Styles: Use CSS classes and external stylesheets instead of inline styles to keep the HTML clean.
      4. Manage Apps and Plugins
      Audit Installed Apps: Regularly review and remove any unused or unnecessary apps.
      Optimize App Usage: Ensure that the apps you use do not inject excessive HTML elements into your pages.
      5. Optimize Images and Media
      Use Responsive Images: Implement responsive images to ensure only necessary image sizes are loaded.
      Lazy Load Images: Implement lazy loading for images to reduce the initial DOM size and improve loading times.
      6. Minimize JavaScript and CSS
      Minify and Combine Files: Minify JavaScript and CSS files and combine them to reduce the number of requests.
      Load Scripts Asynchronously: Load non-critical scripts asynchronously to improve the rendering speed.
      7. Use Efficient Liquid Code
      Limit For Loops: Avoid excessive loops that can add numerous elements to the DOM.
      Conditional Logic: Use conditional logic to render only necessary elements based on the context.
      8. Optimize Collection and Product Pages
      Limit Products Per Page: Reduce the number of products displayed per page to decrease the DOM size.
      Paginate Content: Use pagination effectively to split content across multiple pages rather than loading everything at once.
      Example: Simplifying Liquid Code
      Here's an example of how you can simplify Liquid code to reduce DOM size:
      Before Optimization
      liquid
      {% for product in collections.all.products %}
      {{ product.title }}
      {{ product.description }}

      {% endfor %}
      After Optimization
      Limit the number of products displayed and use a simpler HTML structure:
      liquid
      {% for product in collections.all.products limit: 10 %}
      {{ product.title }}

      {% endfor %}
      Summary
      Reducing the DOM size in your Shopify store involves optimizing your theme, cleaning up your Liquid templates, managing apps and plugins, optimizing images, and minimizing JavaScript and CSS. Regularly review your site's structure and content to ensure it remains lean and efficient. By implementing these practices, you can significantly improve your site's performance and user experience.

  • @navpreetsingh7574
    @navpreetsingh7574 ปีที่แล้ว +1

    Great bro. Thanks

  • @SanjayGupta-x5n
    @SanjayGupta-x5n หลายเดือนก่อน +1

    Can you fix my Dom size?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  หลายเดือนก่อน

      i can't, but you can by implementing the tutorial i created for you

  • @peacebuilder3164
    @peacebuilder3164 8 หลายเดือนก่อน +1

    Subscribed bro..

  • @CharmaneAckerman-o6m
    @CharmaneAckerman-o6m ปีที่แล้ว +1

    This video is not helpful to Shopify users, only WordPress users. I wish that was clear in the title before taking the time to watch this.

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  ปีที่แล้ว +1

      Sorry for the confusion, but I talk about the concepts you can also use in shopify.

    • @hollyrorienetwork
      @hollyrorienetwork 6 หลายเดือนก่อน

      Go to his main channel page and enter the keyword shopify in the search. Then you can see all of his shopify tutorials.

  • @devashish7515
    @devashish7515 ปีที่แล้ว

    video starting from 2:58. thanks me later

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  ปีที่แล้ว

      what about the problem statement and understanding what is DOM size and what are nodes ? Do you think that is not important, just want your feedback so that I can improve my videos.

    • @devashish7515
      @devashish7515 ปีที่แล้ว

      @@LetsCreateYourWEBSITE hey! how r u. i absolutely loved and liked your video. i even subscribed also. but u took too much time brother. repeated same things many times.
      anyway thanks for the video.
      😇

  • @myrainystours
    @myrainystours ปีที่แล้ว +1

    god