Force refresh country IP cache
-
Hi Jordan,
I cam across a particular issue with regards to currency switching and caching solutions / cloudflare.
Most cache solutions server static pages – however based on the following article most cache is not dynamically server based on content specific to users ip address / country / currency.
I have implemented the suggested work around: https://aelia.co/shop/woocommerce-cache-handler/
However, I was thinking there may be a similar stop gap solution.
Would you able able to write a custom functions.Get current users GEO Location
https://stackoverflow.com/questions/51275007/get-user-geolocated-country-name-in-woocommerce-3If users GEO location equals “Country Code” then dynamically force browser to hard refresh rather than loading cached page.
I look forward to your feedback
- The topic ‘Force refresh country IP cache’ is closed to new replies.