Skip to content Skip to sidebar

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.

This topic contains 8 replies, has 2 voices.

Last updated by carlesM-7 3 years, 2 months ago.

Assisted by: Subash Chandra Poudel.

Author Posts
May 22, 2022 at 8:13 pm #11274383

carlesM-7

Hello,

with the intention to improve the site performance, we are doing some tests without cache and an almost empty page (hidden link) activating and deactivating themes and plugins.

We have identified that activating the WPML plugins increase 3 seconds the loading time.
For example, the provided page with just the theme and WooCommerce takes about 2 seconds. Adding the WPML plugins it goes up to 5 seconds or more.

Is there a way improve WPML performance? We believe that 3 seconds is a lot. The site is quite new and under development, hosted on SiteGround (we'll going to change soon).

Thank you,
Carles

PS: hidden link is a copy of the real site kurumbale.com.

May 23, 2022 at 3:08 pm #11282275

Subash Chandra Poudel

Hi Carles,

Welcome to WPML support! I will try my best to help you.

I see you are testing on the Staging site but shared Debug info for the main site. Generally, Staging sites on servers have restricted server resources, please check the following document and confirm that the server/staging meets the minimum requirements required to run WPML efficiently.

https://wpml.org/home/minimum-requirements/

To troubleshoot the issue further and confirm if the issue is from WPML or is an interaction from the plugins/theme can you please:

- Back up the site completely to prevent any data loss.

- Deactivate all plugins on the site, including any mu-plugins, activate a default theme like twenty twenty-one, and check the site's load speed.

- Activate only WPML and check the site's load speed.

- Activate other plugins and the original theme one at a time and check the site's load speed.

Please let me know the test results.

Regards,
Subash

May 23, 2022 at 4:08 pm #11282849

carlesM-7

Hello,

we have also a copy of the site but there is no difference with the staging.

With a default theme there is just a small difference. Some milliseconds more. It seems ok.

The big difference is when Divi Theme is activated. 2 -3 seconds can be added to the TTFB.

Could you please advice? Is this due to a configuration?

Thanks,
Carles

May 24, 2022 at 8:23 am #11287359

Subash Chandra Poudel

Hi Carles,

Please check the following Document and see if it helps to fix the performance issue:

https://wpml.org/faq/how-to-optimize-mysql-queries/

If the issue still persists, I would need to take a closer look at your site. So I would need to request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

I have enabled private reply for you to share the credentials safely. Please make sure to send both WP-Admin and FTP.

Please make a complete backup of your site (files and database) and confirm it in your next reply. I might need to enable/disable plugins, switch themes and access your website database.

Regards,
Subash

May 25, 2022 at 9:32 am #11301929

Subash Chandra Poudel

Hi Carles,

Thank you for the details. However, the WordPress credentials are not working.

I also did some quick tests with Divi at a test site end and I don't see any issues with Performance.

Can you please check the credentials or send the WordPress details again?

Regards,
Subash

May 25, 2022 at 3:07 pm #11307335

Subash Chandra Poudel

Hi Carles,

Thank you for the updates.

For me the TTFB of the page hidden link 1.32 seconds with a total loading time of 1.56 seconds as the attached screenshot.

Also, I didn't notice any significant change in the TTFB of the page hidden link during my test with or without WPML.

Here are my test results:

- With all WPML Plugins deactivated only WooCommerce Active with Divi Child theme. TTFB: 2.4 seconds ( Although it was not consistent and with each hard reload it ranged from 2.1-2.8 seconds but I mostly got around 2.4 seconds)

- With WooCommerce, WPML Multilingual CMS, and WooCommerce Multilingual active with Divi Child theme. TTFB: 2.4 seconds ( Although it was not consistent and with each hard reload it ranged from 2.2-2.5 seconds but again I mostly got around 2.4 seconds)

Since the TTFB is not consistent and WPML actually seems to stabilize the TTFB swing it looks more like an issue from the server or the way WordPress is set up and not related to WPML.

I would recommend you to further test the issue and also contact the hosting provider.

Regards,
Subash

Walk of Fame - Kurumbale - Google Chrome 2022-05-2.png
May 26, 2022 at 9:24 am #11313465

carlesM-7

Hello Subash,

thank you very much for your help.

We have already contacted our hosting and also our ISP. There is clearly an issue because the page in the real site that takes for you (and many other people) around 1.5 -2 seconds, it is up to 7 seconds for us. The same happens in the staging.

Just one last question. The option ‘Adjust IDs for multilingual functionality’. Do you know if it is needed in our case? Or can we deactivate this option?

Thank you,
Carles

May 26, 2022 at 9:52 am #11313883

Subash Chandra Poudel

Hi Carles,

The "Adjust IDs for multilingual functionality" option on the WPML->Languages page helps you auto-adjust any hard-coded IDs in your theme to the current language.

The requirement of this option depends on how your theme is designed and set up. To confirm if it is required for your site, you can turn off the option and then test all the theme and site functionality if they work fine the site should be fine without this option.

Regards,
Subash

May 26, 2022 at 9:55 am #11313911

carlesM-7

Thanks for your help!