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.
Tagged: Performance
This topic contains 9 replies, has 2 voices.
Last updated by Alejandro 1 year, 2 months ago.
Assisted by: Alejandro.
Author | Posts |
---|---|
September 27, 2023 at 10:04 am | |
zenC |
I have a site with only elementor and wpml translation management enabled. |
September 27, 2023 at 10:39 am | |
September 29, 2023 at 1:54 pm #14487969 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
Hello! You mentioned you had redis on your site and this caching method is quite particular and could be the cause why WPML is behaving stragely. However before we move forwards with this and a supporter takes the case, would it be possible for you to create a staging site where we can work with only WPML and Elementor as you had tested before and test it with and without redis when WPML is enabled and disabled. Then, please allow us access to the staging site so we can further investigate what could be happening (i have enabled the credential fields for this purpose). Thanks in advance and regards! |
October 1, 2023 at 11:10 am | |
October 2, 2023 at 10:28 am #14497051 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
Allow me to do some tests and i'll come back to you 🙂 |
October 2, 2023 at 10:42 am #14497195 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
1) I'm installing the query monitor plugin while running other tests. so far, as i found the site, i don't see any slowness, however may i know where did you test it and how so i can test it that way as well? 2) I can see a few references to caching plugins on your site (more than one) like these 2: hidden link May i know what type of caching you have on your site? ------------- By the way, i saw the result of the redis activation. you didn't see any change because it was not configured to work on your site. you did have a redis caching plugin enabled since the start and i wonder what are you using it for (or could it be it was just for testing?). Let me know, please. |
October 5, 2023 at 7:41 am #14517731 | |
zenC |
Hi there, 1. here is a video showing the issue: hidden link 2. I do not know what those plugin references are, but the folders are empty. I use flying press and rocket.net. 3. I do not know what you mean with the redis. I asked the support, they said it's not active. So maybe it was installed before, but not active? Then we activated it, tested, and deactivated again. |
October 5, 2023 at 11:44 am #14519899 | |
zenC |
I also did some more testing with a query monitor plugin and i think i found the problem. So now those questions arise: It seems to me, that there is a lot of ways, that you could improve this, so it does not slow down the whole wordpress admin. |
October 5, 2023 at 4:24 pm #14522279 | |
zenC |
Here is the call stack too: |
October 6, 2023 at 11:30 am #14526921 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
The ATE call shown in the first screenshot is called only once when you enable WPML. however i asked our devs to take a look at your site to see if they can find something. You'll notice the site has only WPML enabled. that's on purpose, so please leave it like that if possible. I'll keep you updated. Regards. |
October 6, 2023 at 11:51 am #14527157 | |
zenC |
Great to hear! Because the ATE call happens on every admin page and not just once. |
October 9, 2023 at 7:29 am #14536511 | |
Alejandro Supporter
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+01:00) |
I can see that in order for that call to go away, you need to save the language mapping again from time to time (WPML > Languages > Edit Languages > save this page) Can you do that for now and let me know if that does decrease the time to an acceptable one? i tested it and of course it wasn't as if WPML wasn't there but it seemed to have helped. Let me know while we search for other possible causes as well. |
October 9, 2023 at 1:53 pm #14540303 | |
zenC |
Hi Alejandro, thank you very much for your help in that issue! Great work! |