GeoIP Support




Wordpress LScache Plugin: GeoIP Support

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, Is the plugin support GeoIP? I have currency switcher plugin for WooCommerce (WOOCS) that can switch it automatically based on user IP. Based in my experience, most cache plugin doesnt support this. WP Super Cache might work with some tricky ways but the result is not that good. Please let me know. Thanks. Regards, Ruben Hi, Ruben It may be possible to get this to work the way you want it to, but it depends on how the currency switcher works, and how savvy you are with editing files like .htaccess. Do you know much about the mechanism the currency switcher uses? If it uses a cookie to determine which version to use, than you can configure LSCache to vary on that cookie. (Basically, what that means is that you can instruct LSCache to store a separate version of the page for each value of the cookie.) We have a wiki that explains how to edit rewrite rules in .htaccess and enable varying on a particular cookie. You can take a look at that here. Unfortunately, there is currently no simple way to do this through the plugin. I hope this is helpful somehow. If doesnt work for you, and you want to give us more details about how the currency switcher works, we might be able to come up with some other ideas. Good luck!



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



Reference