How to FIX Avoid an excessive DOM size [SOLVED]

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

Комментарии • 46

  • @LetsCreateYourWEBSITE
    @LetsCreateYourWEBSITE  Год назад

    Hey there fellow web enthusiasts! Join the channel here ruclips.net/channel/UCNAp3ihoUg5jlbr_vCEZ3MAjoin
    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 Год назад +7

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

  • @1989lavi
    @1989lavi 10 месяцев назад +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?

  • @AbidHussain-pk4xt
    @AbidHussain-pk4xt 4 месяца назад +2

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

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  4 месяца назад

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

  • @sanjaya461
    @sanjaya461 Месяц назад +1

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

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  Месяц назад

      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

  • @sanjaya461
    @sanjaya461 Месяц назад +1

    Hi any trick for spectra page builder for dom size?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  Месяц назад

      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.

  • @hollyrorienetwork
    @hollyrorienetwork 5 месяцев назад +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  5 месяцев назад

      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.

  • @plusonlinemarketing
    @plusonlinemarketing 7 месяцев назад +2

    I cant find dom size option in my elmentor

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  7 месяцев назад +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!

  • @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

  • @punjabitalkies5325
    @punjabitalkies5325 6 месяцев назад +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  5 месяцев назад

      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.

  • @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.

  • @kellydavidson9262
    @kellydavidson9262 Год назад +1

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

  • @javiers.c.8537
    @javiers.c.8537 10 месяцев назад +2

    gracias

  • @MrEagle2050
    @MrEagle2050 4 месяца назад +1

    How to do it for shopify?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  4 месяца назад

      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.

  • @jasminazman8901
    @jasminazman8901 Год назад +2

    VERY HELPFUL. THANK YOU!

  • @SanjayGupta-x5n
    @SanjayGupta-x5n 15 дней назад +1

    Can you fix my Dom size?

    • @LetsCreateYourWEBSITE
      @LetsCreateYourWEBSITE  15 дней назад

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

  • @navpreetsingh7574
    @navpreetsingh7574 Год назад +1

    Great bro. Thanks

  • @peacebuilder3164
    @peacebuilder3164 7 месяцев назад +1

    Subscribed bro..

  • @CharmaneAckerman-o6m
    @CharmaneAckerman-o6m 11 месяцев назад +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  11 месяцев назад +1

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

    • @hollyrorienetwork
      @hollyrorienetwork 5 месяцев назад

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

  • @myrainystours
    @myrainystours Год назад +1

    god

  • @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.
      😇