Hello,
I’ve checked the website. On the cart page on “+” or “-” button click, Ajax Cart AutoUpdate for WooCommerce fires basically instantly (the spinning wheel is displayed when it fires). A request is made from the website to the shop server that changes cart quantity in the backend. How long this request takes, is based on general website speed. Keep in mind that it is actually a request + response from the server that request was successful and the spinning wheel can be displayed no more.
I checked the HTML of the cart page and found the following line:
var acauPhpVars = {"acau_update_delay":"0"};
It means that the current update delay is 0 milliseconds (instant) what is not recommended, as it will result in a request every single time the user changes the quantity in the cart (for example quantity change from 1 to 10 by clicking will result in 10 requests to the server. Should it be 1-second delay, the request will only be sent after 1 second has passed without the user changing quantity.
To sum up – the quantity will never be changed instantly, be it through the default “Update cart” button or with my plugin – to keep the quantity synchronized on the website and the server, a request from the website to the server needs to be done. It can be faster when the general performance of the server/website improves. The fastest and easiest tweak is installing a caching plugin. I can recommend WP Fastest Cache (easy to set up) and W3 Total Cache (advanced, with more customization options). While they are called caching plugins, they offer improvements for server response time unrelated to caching.
Apart from what was mentioned above, due to very long load times of the website, I can recommend Optimole (image compression, new web formats and smart resizing) and Autoptimize (CSS & JavaScript minification, combining CSS and JS files) plugins. You can compare the performance on GTmetrix and Google PageSpeed Insights before and after.
Best regards,
Ryszard
-
This reply was modified 5 years, 4 months ago by taisho.
-
This reply was modified 5 years, 4 months ago by taisho.