Add geo detection capabilities into Varnish
Please add geo detection capabilities into Varnish, this will accelerate use case scenarios where geo detection is essential.
For e.g. in WooCommerce, their current method to provide multi-currency that's compatible with cache is using Woocommerce based geo detection, which tends redirects the visitor 4 times to the correct URL of the page with the correct currency/tax displayed.
Other multi-currency plugins attempt improve this but their loading speeds are too slow, drastically affecting woocommerce store loading times, and making caching useless.
By having geo detection capabilities right in the server stack (Nginx or Varnish, which ever is hit first by visitors) we have opportunities to use this capability to serve the pre-cached store with the correct currencies.
For reference, this is one example of a Varnish configuration to link with a multi-currency plugin.
Another with NGINX and various other caching plugins.
The issue of multi-currency woocommerce store with caching issue is discussed here.
Hi. So... How can I set this Varnish Geolocation with WooCommerce?
AdminCloudways (Admin, Cloudways) commented
The requested feature is live on Platform. Thanks for your patience.