Geotargeting + cache = bug
-
Hi,
The geotargeting function of the plugin doesn’t work with a cache plugin…
It took me some time to see the bug, identify the problem and be able to reproduce it almost 100% of the time, but here it is:
1) Clear the cache
2) test the page with gtmetrix –> since the test server is in Canada, it will simulate a visiteur from canada
3) access the page in private navigation (not logged as admin, since cache is often disabled for admins)
–> the price will be in CDN, the link will be amazon.ca EVEN if you’re not in Canada.
I live in France, and I see the canadian version of the links…If I disable the cache –> I see the french version of the links.
So it means that if someone from Canada visit my page first, everyone who will visit the page after that will see the canadian links. That is obviously a big problem.
I tested with WPFC (wordpress fastest cache) and wprockets, and I have the same problem with both plugins.
Can I exclude something from the cache to avoid this problem ? A specific javascript or something ?
- The topic ‘Geotargeting + cache = bug’ is closed to new replies.