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
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.
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.