[Escalated to WPML Developers team] options autoload - slow ttfb
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Our dev team has confirmed this query is base one and will not be the main cause of the performance issue.
SELECT wpml_translations.translation_id, wpml_translations.element_id, wpml_translations.language_code, wpml_translations.source_language_code, wpml_translations.trid, wpml_translations.element_type FROM lsk_icl_translations wpml_translations JOIN lsk_posts p ON wpml_translations.element_id = p.ID AND wpml_translations.element_type = CONCAT('post_', p.post_type) JOIN lsk_icl_translations tridt ON tridt.element_type = wpml_translations.element_type AND tridt.trid = wpml_translations.trid WHERE tridt.element_id IN (7120333,7120320,7120328,7120349,7120)
As a workaround, you can consider implementing proper object caching, including database caching to improve the performance. The upcoming version of WPML(4.6.7) will be including a performance boost.
We are happy to further debug this issue. It would be great if you could create a staging site for our troubleshooting. Please let us know your feedback.
Also, please share the current server and the configuration details you are using. It will also help in debugging.
Thank you for the updates. I have shared the details with our second-tier team and waiting for their expert opinion. We will get back to you as soon as possible. Please wait.
As per the second-tier team's suggestion to verify the performance, I upgraded the WPML plugins to the latest version(4.6.6) on the staging site and did a few rounds of testing. The page loading is a little better now(improvements of 2-3 seconds in Query Monitor).
We will debut it further and get back to you soon. Please wait.
Our second-tier team still working on this. We have a lot of limitations here because of the older version of WordPress, WooCommerce, and other plugins. Our team is looking for possible workarounds. We will get back to you as soon as possible.
We have already upgraded to the latest version of WPML(4.6.6) on your staging site. There are only little(2-3 seconds) improvements in the page loading now. So please wait for the feedback from our team. Thank you.