Wordpress LScache Plugin: LS Cache issue with multi currency using Booster Plugin
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi all, Ive been trying to see where the issue happen but currently stuck. So I have my woocommerce to display products price based on visitors country. This is handled by Booster Plugin. The booster plugin detect users location based on their IP via Woocommerce detection method. My Woocommerces default currency is set to VND. I also have Cloudflare active and have set Using client IP in header under Litespeed web admin. So basically, if an user come from Vietnam, the currency will be VND (default) if an user come from Australia, the currency will be AUD and for the rest of the world, it will be USD. I have my .htaccess config as below: RewriteEngine on RewriteRule . - [E=Cache-Control:vary=other] #set default vary to other RewriteCond % HTTP:CF-IPCountry VN [NC,OR] RewriteCond % HTTP_USER_AGENT Googlebot [NC] RewriteRule . - [E=Cache-Control:vary=vn] #if CF header for country shows VN , override it from other to vn RewriteCond % HTTP:CF-IPCountry AU [NC] RewriteRule . - [E=Cache-Control:vary=au] #if header shows AU , override it from other to au RewriteCond % HTTP:CF-IPCountry US|CA|SG|MY [NC] RewriteRule . - [E=Cache-Control:vary=int] #if header shows US CA SG MY , override it from other to int # BEGIN LSCACHE Currently, after a few days when I do a check using Geopeeker to check how the web would displayed from different location other than Australia, some of the products price will be displayed in VND instead of USD when checking from locations like Brazil, US, Ireland. I am unable to locate the problem now. Please if you can, please show me what are the log I can look to. I have had no issues under nginx + WP Rocket in the past. This only arise after the switch to LS + LS Cache Hi, Could you please provide join our Slack community ? I would need more information about your setup if you join in , please let me know your username , I will reach you. Best regards, Hi @CacheCrawler I have joined the Slack channel, my id is dng2403 Hi, Ive sent you an hi , please respond me when it is convenient for you. Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference