Plugin Contributor
iSaumya
(@isaumya)
Hi @steveokk,
Unfortunately, Cloudflare doesn’t allow different cache for different locations. It holds a single cache for the page which is shown everywhere.
I also use country-based pricing on my website where I’m also using WooCommerce. But for location-based pricing, I’m using Price Based on Country for WooCommerce (PRO).
The best part about this plugin is that it shows the updated pricing in the shop page and the checkout page both of which you can bypass from the cache so each time a user visits these pages they will be served from the server showing them their own price. Whereas all other pages can be cached both at server disk-level and also at the Cloudflare CDN level.
Thanks for getting back, love the in depth responses you seem to keep doing 🙂
hopefully cloudflare eventually make it possible to serve different content per country, i’m sure the sites that have gone to the effort to do so would benefit the most from edge caching too!
is there a way to test the plugin on a sub domain as well? I did notice it wasn’t visible in the latest version I tried.
-
This reply was modified 5 years, 7 months ago by
steveokk.
Plugin Contributor
iSaumya
(@isaumya)
Hi @steveokk,
is there a way to test the plugin on a sub domain as well? I did notice it wasn’t visible in the latest version I tried.
When you install the plugin on a site hosted on a subdomain it will automatically detect that and add the page rule based on that.
Thanks. 🙂
wow, thats great, thanks again!