Skip Navigation

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

Problem:
You are experiencing slower PageSpeed scores on the Polish version of your site compared to the English version, despite using the Litespeed Cache Plugin and both versions being identical except for the language.
Solution:
The discrepancy in speed between the English and Polish versions of your site is likely due to the additional processing required by WPML for translated pages. WPML needs to handle and filter translation layers, which involves accessing, processing, and displaying content based on the selected language. This necessary process introduces a slight overhead, which might affect the load times and PageSpeed scores of the translated pages.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we recommend opening a new support ticket. Additionally, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.

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: 

This topic contains 5 replies, has 2 voices.

Last updated by Bruno Kos 4 weeks ago.

Assisted by: Bruno Kos.

Author Posts
October 25, 2024 at 10:14 am #16330050

mariuszM-13

Background of the issue:
I am trying to optimize the site using the Litespeed Cache Plugin. When testing the site with Google PageSpeed, I get 98-100% on the English version and only 39-68 on the Polish version. The versions are identical, just translated. Link to a page where the issue can be seen: hidden link

Symptoms:
I get 100% in the pagespeed test on the EN site and from 39 to 82 on the PL site.

Questions:
What seems to be the problem with the Polish version's speed?
Why is there a discrepancy in speed between the English and Polish versions?

October 28, 2024 at 8:47 am #16336420

Bruno Kos
Supporter

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

Timezone: Europe/Zagreb (GMT+01:00)

We were checking this and got almost the same results now, can you tell me if you changed something?

entest.jpg
pl.jpg
October 28, 2024 at 12:19 pm #16337671

mariuszM-13

Yes, I have optimised it even futher. The second language version gets at most 92 now, which is still 10 pecent slower than original. This seems strange, because as far as I understand the second language page is just a new page with a new id copied from the original with translated text. So it should be the same.

The site is ona Litespeed server and I optimised it using a dedicated official Litespeed Cache plugin. I optumise the whole site, there is no section for one or the other language.

The Polish version of the site is slower on PageSpeed and if you change why, then you will see these are the things that LiteSpeed should speed up, but with the Polish version it seems not to be doing it in the same way as with the original. Perhaps some options cannot be applied to the copy for some reason?

October 29, 2024 at 7:28 am #16340353

Bruno Kos
Supporter

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

Timezone: Europe/Zagreb (GMT+01:00)

Could you please check the sizes of images being used, particularly in translated content? Sometimes, unoptimized images are served at full size instead of scaled versions, which can increase load times. Regenerating thumbnails and verifying how images are loaded may help optimize this.

Additionally, there can be some performance differences influenced by the theme, page builder, and WPML, as content filtering is required for translated pages. These factors can sometimes add slight overhead to load times.

Let us know if you have any questions related to this!

October 29, 2024 at 5:34 pm #16343857

mariuszM-13

Images are the same, you should also be able to download them with your browser and compare. Theme is a basic empty Hello Elementor and everything else is built with elementor on top of it.

October 30, 2024 at 5:50 am #16344706

Bruno Kos
Supporter

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

Timezone: Europe/Zagreb (GMT+01:00)

While the Hello Elementor theme is minimal, WPML still needs to handle and filter additional translation layers for translated pages. Each translated page requires WPML to access, process, and display content based on language, which can introduce slight overhead. This additional work WPML does with filtering and processing translated content is an essential part of delivering a seamless multilingual experience, though it may cause a minor difference in load times compared to the original content.