Background of the issue:
I am trying to address performance issues caused by AJAX calls to WPML on every WooCommerce page. The issue can be seen on all product category pages
Symptoms:
AJAX calls to WPML on every WooCommerce page are slowing down performance.
Questions:
How can I zero the performance impact of AJAX calls to WPML on WooCommerce pages? I am experiencing a severe performance issue where my WooCommerce product category pages (elipack.com) are extremely slow (6+ seconds) and cause a 100% server CPU spike, while all other pages are fast. I have used the Query Monitor plugin and confirmed that the problem is WPML, which is running multiple slow queries (specifically WPML_Locale->get_all_locales) and over 80 duplicate queries on every category page load.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Our apologies for the delay in getting back to you on this matter.
I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.
The required fields are located below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.
I may need to install a plugin called "All In One WP Migration" to create a copy of the website so I can investigate the issue further.
However, I would also be very grateful if you could provide a staging site or a copy of the website from your server for this purpose.
If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/account/websites/.
If you are unable to provide such a copy of the website for testing, please let me know on this ticket.
The private reply form looks like this: hidden link
Click "I still need assistance" the next time you reply.
Video: hidden link
Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.
Best regards
Andreas
The topic ‘[Closed] ajax calls to wpml on every woocomerce page, slows down performance’ is closed to new replies.