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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

This topic contains 7 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 1 day, 14 hours ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
September 25, 2025 at 9:35 am #17431628

Kresimir

Background of the issue:
I am working on a site under development and trying to improve performance scores for high traffic sites. I am looking to have minified versions of the JavaScript files language-cookie.js and xdomain-data.js included instead of the unminified ones.

Symptoms:
No specific issue or error message mentioned.

Questions:
Any chance you include minified versions of your JavaScript files language-cookie.js and xdomain-data.js instead of the unminified ones?

September 26, 2025 at 7:08 am #17434622

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello there,

I analyzed a fresh install of WPML on Page Speed Insights, but it didn't deduct any points for the specific files you mentioned not being minified. To be able to evaluate that if our team, I'll need you to please send us a screenshot of the report, where we can see this message - as I said this server as an argument. Also, if it's something specific to your website, we can perhaps look for a workaround.

Thank you for your cooperation.

September 29, 2025 at 11:11 am #17440696

Kresimir

Hey Lucas. Didn't I answer the question about the screenshot in my chat 🙂 ... what I mean I explained why i's currently hard for me to provide that and agreed that even without that argument minifying front end resources like JavaScript and CSS is always a better approach.

September 29, 2025 at 12:43 pm #17441004

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

I understand that. The thing is, I couldn't verify that this behavior is a global WPML issue, as it didn't happen on a fresh installation. Thus, I cannot create a feature request, as it might not be a missing feature. It's possible that the issue is specific to your website, and that needs verification.

Without your report, I have nothing to escalate or to verify. I understand that this takes some effort from your side.

September 29, 2025 at 1:00 pm #17441029

Kresimir

Ah so there is no option for you to add that feature request just because it's considered a best practice on sites like this (hidden link) to minify front end assets like JavaScript and CSS?

September 29, 2025 at 1:28 pm #17441209

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Yes, I can.

Please send me at least your website URL, so I can verify this behavior. Would that be possible?

October 1, 2025 at 9:11 am #17447802

Kresimir

Hej Lucas. The website is in development and I can't share the URL but I don't need to for you to confirm this. This is not an issue caused by some code but just the way your plugin works. You can look at any website that uses WPML and you'll see that the files sitepress-multilingual-cms/res/js/cookies/language-cookie.js and sitepress-multilingual-cms/res/js/xdomain-data.js are not minified. That's part of your plugins code and visible just by checking the code without event running WPML.

October 1, 2025 at 1:17 pm #17448968

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Thanks for clarifying. I will proceed with the request. The analysis usually takes a few days. I'll keep you updated.