How to uncache currencies by countries?




Wordpress LScache Plugin: How to uncache currencies by countries?

Last Updated on: Wed, 15 Apr 2026 00:00:02
hey how do you uncache currencies by countries? Im using woocommerce booster. How do I set this to exclude that function to be uncached? Please advise. Hi, Does it use cookie or PHP session to define currency ? If it uses cookie , you can try rules like this: edit .htaccess file find RewriteEngine on CacheLookup on RewriteRule . - [E=Cache-Control:no-autoflush] replace it to RewriteEngine on CacheLookup on RewriteRule . - [E=Cache-Control:no-autoflush] RewriteRule . - [E=Cache-Vary:cookie_name] replace cookie_name in last line to the cookie WooC booster uses. Best regards, Hi! I would really appreciate if you could point out what cookie is used on that specific function. can you take a quick peak over the site? https://ozkilts.com Hi, @ccmanz I just relied your post few minutes ago Best regards, hey @CacheCrawler thanks for the tip! Hi, Just to follow up , Does it work on your site ? Best regards, It is not working on this site, i can see it uses woocommerce geo locate to define country, proposed fix was to set geolocate (page cache friendly) in woo commerce settings, however, this is not an elegant fix and causes massive issues: let me explain: When turning this setting on, it adds V session variable in url, we dont wish to have the v variables in our page URLs because it is a huge problem. 1) It looks terrible, 2) it also causes issues with page sharing on social media (people have already started sharing the variable url instead of the normal domain url, which will have obvious ramifications with our international customer base)? 3) it also causes possible MAJOR issues with SEO. So to confirm, this plugin uses the woocommerce store location (geolocate) setting. We request that this would work with litespeed natively, perhaps need to add hook/setting into litespeed cache to ensure this works properly, as currently it is caching the location which is not right! Hi all, we are working on a fix on Woocommerce multi-currency bug, will get you back and let you test on it in few weeks when the patch is ready. Thanks Stanley. Please post when the patch is ready and we will action it asap. This is already causing issue with our site and about half a dozen others we run so I hope you can resolve quickly. Thanks again! Hi @CacheCrawler and @stanleylitespeed! Would you be so kind to remove the url that Ive linked on my reply. That would be great!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference