Geolocation
-
I need to store separate, country-specific copies of cached content. I’m using GeoTargeting from WPEngine to hide product prices outside the US. With WP Fastest Cache activated geolocation breaks. Is it possible to fix this?
From WPEngine I received this answer:
“Thank you so much for your patience as we are looking into the concerns raised. A quick summary of how GeoTarget works with regards to caching, we utilize Varnish for page caching. When GeoTarget is enabled and cache headers set on the back end configuration settings for it, it will create specific cache buckets as such based on the configuration.
An example of this would be, if it is set at the country level, then visitors whose IP address’ geolocation data falls within a country will receive the page from the Varnish cache bucket of their country.
From the sounds of things, when the third party plugin WP Fastest Cache is disabled, this feature works as intended, however the page speed drops. So the overall mechanism works as intended, however when additional caching plugins are enabled, they appear to be either interfering with our caching system or may be overriding it in order to serve the page desired.
Since the basic GeoTarget setup appears to work as intended when the plugin is disabled, it may be an idea to get some input from the plugin developers to see what may be interfering with the different caching buckets that were created. I reviewed the plugins site however found no additional documentation that would point us in the right direction.
I’m not familiar enough with the plugin and how it handles caching as a whole and thus how it would subsequently server or store the data. If you have any questions or concerns, please don’t hesitate to reach out to us as we’d be happy to help!”
From our consultant I received:
” By the look of it, the WP Fastest Cache plugin could indeed be the cause of the issue. Whereas WP Engine stores country-specific copies of cached content, the WPFC plugin stores only one copy, and serves the same copy to all your visitors.
My recommendation would be the same as the one from WP Engine, i.e. to contact the authors of WP Fastest Cache and illustrate the issue. They should be able to tell you how you can configure that plugin to store separate copies of content based on the headers/data set by WP Engine. The target would be to change the following behaviour: ~~~ yoursite.com + UK –┐ yoursite.com + DE |–> One copy of cached content yoursite.com + US –┘ ~~~ To this ~~~ yoursite.com + UK –> Cached content for the UK yoursite.com + DE –> Cached content for Germany yoursite.com + US –> Cached content for the US ~~~ The feasibility of this depends on how the WP Fastest Cache plugin, and its authors are the one who know better than anyone else how to do that.”
The page I need help with: [log in to see the link]
- The topic ‘Geolocation’ is closed to new replies.