Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported that their website becomes extremely slow when logged in, and the hosting company suggested that WPML might be contributing to the issue.
Solution:
We recommended several steps to improve website performance:
1. Avoid using plugins like "Query Monitor" on production sites except for brief testing periods.
2. In "WPML > Settings", consider disabling the "Translatable - use translation if available or fallback to default language" for posts types and taxonomies if not in use, and switch to "Translatable - only show translated items".
3. Remove unused plugins, ensure necessary plugins are updated, and avoid using multiple plugins for the same function.
4. Disable the "WPML Media Translation" add-on if not using different images for each language. More details here: WPML Media Translation Guide
5. In "WPML > String Translation", disable "Track where strings appear on the site" and "Auto register strings for translation", and remove unused or untranslated strings. More information: String Translation Guide
6. Reduce page size by compressing media and minimizing media usage, using tools like EWWW. More details: EWWW Image Optimizer
7. Implement object caching with Redis or use caching plugins like Super Cache, W3 Total Cache, or WP-Rocket for improved performance.
8. Regularly check server resource usage and optimize as necessary.
9. Avoid using SSL plugins that can consume significant resources by redirecting each request.

If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket.

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 1 reply, has 2 voices.

Last updated by Nicolas V. 9 months, 2 weeks ago.

Assisted by: Nicolas V..

Author Posts
October 9, 2024 at 7:35 pm #16272162

joannesB

Good morning I was pointed out by my hosting company that WPML could well be the reason for a super slow website. What can you guys say about this. This is the same website that the earlier question was about. hidden link
Once you are logged in, the website becomes terribly, almost unworkably slow.

Please look at the attachment

October 9, 2024 at 7:46 pm #16272257

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello again,

When it comes to performance we have a general list of first recommendations to follow before proceeding to further investigation:
1. Do not use plugins like "Query Monitor" on your production sites (or only for testing, disable it afterwards).

2. Consider disabling the "Translatable - use translation if available or fallback to default language" option in "WPML > Settings" for posts types and taxonomies if you are not using it. Replace it with "Translatable - only show translated items".

3. Make sure you only use the plugins you really need. Delete unused plugins, and update used plugins. Also note that it is not recommended to have two plugins performing the same functions (2 translation plugins, 2 SEO plugins, or other).

4. Our "WPML Media Translation" add-on can be disabled if you don't use different images in each language.
Ref: https://wpml.org/documentation/getting-started-guide/media-translation/#understanding-when-to-use-wpml-media-translation

5. Translating strings
In "WPML > String Translation", disable the options "Track where strings appear on the site" and "Auto register strings for translation" if they are enabled.
Remove strings that are not used or untranslated.
Ref: https://wpml.org/documentation/getting-started-guide/string-translation/#deleting-strings

6. Unrelated to WPML, lower the weight of the page size in MB. Compress media (EWWW or similar), minimize the media quantity throughout the pages.
Ref: https://wordpress.org/plugins/ewww-image-optimizer/ (Not one of our plugins, just recommendation here).

7. Try to implement object caching with Redis. This significantly improves performance on backend. . Some page cache plugins like W3 Total Cache can also provide object caching. In this case, the Redis Cache plugin is not needed. (Not one of our plugins, just a recommendation here).

8. Try a caching plugin like Super Cache, W3 Total Cache or WP-Rocket. (These are not our plugins, just a recommendation here).

9. Check resources usage on the server (disk full, database size etc..). If the database is very heavy, we can take a look on the support and analyze it.

10. Do not use any SSL plugins. They consume quite a lot of resources by redirecting each request. While it is pretty easy to convert all database links to https.