State/Province based cache
-
Hi,
first of all thank you for this great plugin! It will solve most of my problems. But I have one more and I don’t know if this plugin would solve it the way it is coded right now…
In Spain there are some regions that are VAT excluded (Canary Islands for instance), so ?is it possible to have a cache based on states/provinces? As I can see in the docs you can put country codes to have different caches, but I need also to have different caches between regions in the same country.
I need ES caching (21% VAT) and then Canary Islands caching (0% VAT). The problem I have is that the pages cached to users on the Canary Islands are shown to users on other regions of Spain and the other way too, users on the Canary Islands see prices with VAT as the pages are cache generated when a user in Spain sees the page.
If you have the code on github I would try to figure it out and do a PR.
Summing up, what I need is to create unique cache files to country:region, something like ES:TF, where ES stands for Spain, and TF stands for Tenerife.
I know it’s not easy to figure it out but lets give it a try ;D
- The topic ‘State/Province based cache’ is closed to new replies.