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+01:00)

Tagged: 

This topic contains 5 replies, has 0 voices.

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

Assisted by: Lucas Vidal de Andrade.

Author Posts
December 2, 2025 at 4:15 pm

fredericP-26

I noticed that Litespeed cache is serving cached version of the pages that were crawled in the main currency (USD), but not in the secondary currency (CAD). We have set the wcml_client_currency cookie in the settings to capture both currencies. How can we make sure that the crawler is working for all currencies and the user is served the correct cached page? Thanks

December 3, 2025 at 8:38 am #17629593

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Hey there,

I've sent all the details from your ticket to our development team. I will get back to you likely later today, with their feedback. Thank you for your patience.

December 4, 2025 at 11:56 am #17633926

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Hello there,

I got feedback from the devs.

The currency is set via client location. This will backfire and cause issues as there is the visitor from his own server.

It turns out the issue is related to how the site sets the currency based on client location. In this case, using the wcml_client_currency cookie alone isn’t enough, because WCML applies internal checks tied to the visitor’s actual geolocation (when logged out), or shipping address (when logged in).

That means the crawler, running from the server’s location, can’t always trigger the correct currency-specific cache. To confirm this, you can temporarily allow all currencies to be accessible from any location and test whether the correct cached version is then served.

December 4, 2025 at 8:47 pm #17636166

fredericP-26

I have changed the settings for both currencies to be available in all countries (see attached). Then I purged the cache and started a new crawl.

On the frontend I'm still getting Miss for the CAD pages (it is working fine for USD).

Capture d’écran 2025-12-04 154557.png
December 4, 2025 at 8:56 pm #17636187

fredericP-26

BTW, I'm of course testing on incognito and even in different Chrome profiles. This is what I'm getting on all pages.

Capture d’écran 2025-12-04 152200.png
December 5, 2025 at 9:32 am #17637435

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

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

Thank you for sharing. I've forwarded that and will keep you updated.