Home › Forums › WoodMart support forum › Excessive DOM size / Perfomance load time
Excessive DOM size / Perfomance load time
- This topic has 8 replies, 2 voices, and was last updated 1 year, 4 months ago by Luke Nielsen.
-
AuthorPosts
-
June 28, 2023 at 1:43 am #477773
mwickParticipantHello!
It’s been a while since we last connected. Hope everything is well!
I recently purchased support in the hopes of finding some answers. I’ve been facing challenges over the past week, trying to identify the source of memory leaks and excessively long loading times. I’ve already taken several steps to optimize performance, such as enabling CDN and Redis caching. Additionally, I’ve optimized various aspects including lazy loading, CSS and JS minification, reducing file sizes, activating preloading, etc.
Furthermore, I’m running the server on a VPS with enough CPU and RAM to handle the workload of over 100,000 products.However, the most unexpected discovery was disabling the theme, which surprisingly improved the situation. I noticed a significant reduction in page loading times, dropping from over 8 seconds to less than 3/2 seconds. The attached screenshots show the insights from GTmetrix.
One notable issue highlighted in the screenshots is the excessive use of DOM elements, with over 16,000 elements loaded on a single page. I believe this is contributing to the prolonged load times.
To assist you in troubleshooting, I’ve included the login information to the backend of the site in the private content area.
I’m really hoping you can provide me with some guidance as I’m currently struggling and unable to resolve the issue on my own.
Thank you in advance for your prompt response.
Attachments:
You must be logged in to view attached files.June 28, 2023 at 10:43 pm #478051
mwickParticipantCould you please help me?
June 29, 2023 at 10:35 am #478139
Luke NielsenKeymasterHello,
I apologize for the delay.
You see the difference in page loading speed because on the default theme, you are loading a page that does not have any content, so it is more appropriate to check the speed on the shop page, and we did it, and we got the result that our theme is loaded for 1 second longer than the default theme and it is normal operation of our theme.
Kind Regards
June 29, 2023 at 12:11 pm #478190
mwickParticipantSure. But any idea how to solve this loading time problem? Sometimes it takes 10 seconds to load.
Also with the theme i cant open an order in Woocommerce.
June 29, 2023 at 12:32 pm #478198
mwickParticipantI also included the test on the shop page. However, could you please clarify the purpose of the 16,000 DOM elements? I have noticed that they have a detrimental effect on the overall performance of the site. Apart from this particular issue, I have identified another problem mentioned earlier and another topic that needs attention.
June 29, 2023 at 4:25 pm #478262
Luke NielsenKeymasterHello,
1. Our theme can’t load it faster than the default theme, but usually, the default theme loads the page under 2 seconds in your case it is 7 seconds, so most likely you need to contact the server with this problem.
We tried to load the order page on the default theme: , and on our theme: . As we can see there is no difference.
2. The number of DOM elements are generated in the process of content building. All WPBakery/Elementor 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.
Kind Regards
- This reply was modified 1 year, 4 months ago by Luke Nielsen.
June 29, 2023 at 4:58 pm #478268
mwickParticipantHi Luke,
Could you please remove the screenshot and move it into the private area. You’ve just put our adress public.
Is there any way to reduce this loadtime?
June 29, 2023 at 5:39 pm #478278
mwickParticipantI must add that the server is already running on a VPS with 8 cores and 8gb ram.
June 29, 2023 at 5:42 pm #478280
Luke NielsenKeymasterHello,
You need to contact your server because as you saw, the speed on the default theme and on our theme is the same so it is not something caused by the theme.
Kind Regards
-
AuthorPosts
Tagged: Excessive DOM size, load time, Out of memory, Perfomance, Theme perfomance, Woocommerce Woodmart
- You must be logged in to create new topics. Login / Register