My website can't switch currency how I can exclude currency from the cache?

My website can’t switch currency how I can exclude currency from the cache? mostly it’s happening on mobile devices.


Which URL are you referring to?
https://iamthecompany.com/

Cloudflare won’t cache that by default. It looks like you’ve created a Cache Everything rule that’s causing this problem.

If you’re using a Cache Rule, set the rule to only trigger if cookie does not contain mailchimp_landing_site, and cookie does not contain wcml_client_currency, and cookie does not contain wcml_client_currency_language.

With e-commerce, you have to be extremely careful about creating cache settings.

5 Likes

Thanks Sdayman,
I added that the Rule and Currency switcher is working fine on mobile now but after that my website is very slow on mobile can you help to fix it.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.