Wordpress LScache Plugin: Woocommerce multi-currecy advise od LiteSpeed Cache
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, Ive a site shop based on WooCommerce with multilingual WPML and with WooCommerce Multi-Currency activated. Also, the LiteSpeed Cache Version 3.6.2 is installed and activated from 6 months ago. Yesterday got updates for all WPML and WooCommerce Multi-Currency plugins and after Ive got on the Dashboard a warning related to LiteSpeed Cache that says: WooCommerce Multilingual detected and active cache plugin on your site. Caching may cause currency display issues for your customers if you are using multi-currency feature. To avoid this, set your cache plugin to not cache pages for visitors that have a cookie set in their browser. Ive looked at all settings of the LiteSpeed Cache but are unable to found how to apply this setting. Can you please help me to set it in order to avoid this issue? Many thanks in advance for your help, Robert This topic was modified 1 year, 9 months ago by uidb4056. Hi, Please provide the report number you can get it in toolbox -> report -> click send to LiteSpeed Best regards, Hello, Here is the report number: Report number: UCKIQPMD Report date: 02/04/2021 07:23:57 Best regards hmmmm , just one quick question how does your plugin detect currency ? because I tried connect from Spain IP and USA IP , both shows me on EUR Hello, It uses Geolocation and the currencies are USD$ for the USA, EUR for EU countries like Spain, France, Germany and CAD$ for Canada and rest of world like Argentina. Ive tested using Proton VPN to connect from these countries. However sometimes I need to clear the cache to view the right currency. Hi, If it uses GeoIP , please check this page you may need to ask your hosting provider to help you on this part Best regards, Hello, Using Proton VPN Ive been able to connect from the USA, Mexico, Argentina, UK, France, ? without problems and showing the right currencies on each country, when Ive said that sometimes Ive needed to clear the cache Im referring to browser cache. Anyway the question still is: Just in case I need to apply this recommendation how can I set it? To avoid this, set your cache plugin to not cache pages for visitors that have a cookie set in their browser. Best regards, Robert Hi, thats the least efficient solution you can go to Cache -> Exclude -> Do not cache cookie , add your cookie there to prevent page cache when that cookie is present. but you can try this way first add this at top of your .htaccess RewriteRule . - [E=Cache-Vary:your_cookie_name] then purge all , this will make cache vary on cookie value. Best regards, Hi, That sounds good but my knowledge about cookies and caching is very limited, and I dont know how or where to found the cookie name to exclude from cache or place in .htaccess file. The site uses multicurrency for some countries based on geolocation and the customers doesnt have a currency switcher available to change the currency. Can you help me to found this cookie name Many thanks in advance and best regards, Robert Hi, okay , hold on a second , I am getting little confused right now? 1. so I tested your site , with 2 IPs one is from US/CA , one is from ES the ES one shows EUR , and other one shows CAD , which I except to be USD , but thats okay with me , because geoiplocation could mismatch but , on both pages, I do see the cache hit already , and Id say it is just working as it expects , isnt it ? 2. I did not find cookie though , not sure which one you used to store currency 3. I think the most optimal solution is still to use GeoIP module from server-level , but it requires help from your provider : ( Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference