This is a message I have received from our hosting support in regards to our site loading slow. Please advise.
I’m noticing an issue with the way that the “Production Variations” and the “Related Products” are calling the images to be displayed (both initially and on-hover). The way these are called cause the site to run out of resources almost immediately since the images are fetching the information dynamically every single time the page loads. Generally speaking, it’s fine to call information dynamically, but right now the site is generating 10 dynamic calls per visitor, per page load. This means that if you had 10 visitors on various products, they could hit the site with 100 requests at the same time, immediately toppling it over and causing delays. It might be a good idea to reach out to the plugin developer responsible for the Related Products to see if there is a way to consolidate the calls for each individual Related Product (currently there are 10 of these per pages), into a single call to the backend which fetches information for all 10 calls’ worth of information. This would dramatically cut down on the server slowness happening by avoiding overloading the hardware upon which the site operates.
To optimize speed. Could you check it here: https://www.loom.com/share/b5cc100467b244a8b0ee2297979ff3ea
This isn’t just a speed issue, but a resource issue. Is there any possible modifications to the plugin that would reduce the load?
Have you guys run into this with woocommerce before?
This is what my hosting provider has sent to me. Each variation is loading via ajax and demanding a ton of resources. Should I disable the variations from the related products part on each product page somehow? I am unsure of what to do
Hello DJ Wheeler,
We have a feature ajax enable/disable, please see here https://prnt.sc/r2yxvy
Could you please try after disable ajax threshold.
Yes I have tried that and it is still showing multiple calls…
Five times ajax call is normal in your product single page, let me explain when open product single page then hit one ajax and you have 4 related product items they call other 4 ajax call.
You may see this video https://www.loom.com/share/5615f89d191a485f8044258a0510f412
Thanks for understanding.