PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Unusually high number of Admin-ajax-php calls

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

We have had recent issues with high load on our server and our site adminitrators eventually pinpointed it to admin-ajax.php calls using the woocs_get_products_price_html function from the woocommerce-currency-switcher plugin. Loading a product page (eg. https://yum-asia.com/uk/product/sakura-advanced-fuzzy-logic-ceramic-rice-cooker/) runs 8 of these calls in the background, which are bypassing cache and take 2+ seconds each

They recommend using a profiling tool (eg. Query Monitor) to investigate why they're so slow and looking to optimise them. Can you advise on this please?

Kind Regards

Little Panda

Hello Little Panda

On this page the plugin should make 2 requests (if you don't use custom prices), and the maximum is 3 requests.

This is a request to redraw the cached prices.  You can turn it off here - https://share.pluginus.net/image/i20250909214327.png

In theory, this is a simple request to get HTML prices (standard woocommerec function) and cannot be slow if the prices are not affected by third-party plugins