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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: America/Los_Angeles (GMT-08:00)
Tagged: Performance
This topic contains 9 replies, has 2 voices.
Last updated by Bobby 5 months, 2 weeks ago.
Assisted by: Bobby.
Author | Posts |
---|---|
May 8, 2024 at 9:19 pm #15607881 | |
olivierG-20 |
My wesbite is too slow. |
May 8, 2024 at 11:37 pm #15607999 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, Thank you for sharing the screenshot! 1. Please go to Plugins->Add new->Commercial tab and check for updates 2. Update WPML to its latest version (4.6.10) along with any add-on plugins Check for the duplicate queries again, do you still get the same issue? If the issue continues, review the following: - Go to WPML->Settings and review if any post types and taxonomies are using the following mode "display as translated" If yes, please consider disabling it - Try disabling the setting to "Adjust IDs for multilingual functionality" at WPML > Languages > Make themes work multilingual, unless you are using a theme that is not officially compatible with WPML OR they are asking explicitly for this setting to be enabled - Turn off “Track where strings appear on the site” in String Translation. - Go to WPML->Support->Troubleshooting and run the following actions Cleanup and optimize string tables Let me know your results, please. |
May 9, 2024 at 6:16 pm #15612056 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
If the above do not help, please also try the suggestion in the following documentation (do this only after updating WPML to 4.6.10 please) https://wpml.org/errata/wpml-causing-backend-slowness-and-duplicated-queries/ |
May 9, 2024 at 10:38 pm #15612355 | |
olivierG-20 |
Thank you for your help; I really appreciate it. I've followed all your suggestions, but unfortunately, it's still not working. After further investigation, it seems that the issue is also related to the YITH Ajax Product Filter (hidden link). The YITH Ajax Product Filter appears to trigger the function call WPML_Term_Query_Filter->get_terms() multiple times when loading the shop page. This function executes the query below. I hope this information will help you address my issue. ========================================================= Query executed many times SELECT taxonomy, term_id ========================================================= Function call stack trace WPML_Term_Query_Filter->get_terms() |
May 10, 2024 at 6:23 pm #15616123 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Thank you for sharing this information! I would like to request temporary access (wp-admin and FTP) to your site to test the issue. **Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken ** I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/ NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin. Thank you, |
May 13, 2024 at 10:26 pm #15622647 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Thank you for the access details! I can reproduce the issue on the shop page. Do I have your permission to activate/deactivate 3rd party plugins on the staging site? If you are not comfortable with me doing this, I can create a copy of the staging site onto our cloudways servers to further test. |
May 14, 2024 at 11:28 am #15624934 | |
olivierG-20 |
Hi Bobby, You can. Thanks, |
May 16, 2024 at 2:42 am #15632608 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Thank you, I was able to do a few tests. The base loading time was around 23s for the shop page. Without WPML the loading time only dropped around 21, 15, and 12 was the fastest I was able to get it down to with more plugins deactivated. When testing with just the very basic plugins ACF pro, WPML and it's add-on plugins and WooCommerce I got the loading time down to between 1.12s - 4.00s Enabling plugins in batches slowly brought up the loading time to around 8s-9s and stayed pretty consistent there until I enabled the following plugin: Order Export & Order Import for WooCommerce this plugin took loading time from 8s to 15s These plugins overall I would recommend only activating these when you intend to use them and when not using them it's best to keep them deactivated Import and export users and customers Query Monitor --> It's recommended when using WPML to only have Query Monitor enabled to debug but have it deactivated on the production site as it can affect performance. Please review the site now, notice which plugins are deactivated (see recently activated) and test the shop, you will notice with everything it loads to around 9-10s. deactivating WPML drops that to 8.48-9s loading time which we could probably lower by looking at the duplicate queries once we can confirm that the webtoffee plugin was the main culprit for the site loading in the 20s. Let me know your results, please. |
May 27, 2024 at 3:48 pm #15674999 | |
olivierG-20 |
Hello, I have deleted Order Export & Order Import for WooCommerce plugin on staging and the website is still slow. Merci, |
May 28, 2024 at 11:19 pm #15681243 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi Bruno, at the moment I am getting similar results with WPML activated and WPML deactivated. Do you notice a significant change in performance when not using the Yith plugin? What is the loading time you are seeing at the moment from your side with WML activated vs deactivated? at the moment I get values ranging from 9s to 11s with or without our plugin. |
The topic ‘[Closed] Website is too slow’ is closed to new replies.