3 years ago WP Rocket asked me to to develop Country Caching for WP Rocket but at that time it wasn't feasible. Many Rocket users have also asked for this; and I recently rechecked Rocket Code and found I could produce a plugin.
WP Rocket requires a paid licence and I've only been able to test on one "standard" site - so unlike my other plugins it won't be released until others have tested it.
If you'd like to volunteer as a tester then read this post. Read More
Do you use Maxmind's free code and database file(s) for Geoip? Is updating your site with the latest data file one of those tasks you never have time to do?Here’s a “sit back and forget it” PHP script with error detection, recovery, and email notification to automate the process! Read More
Documentation is a work in progress. Create a file named “use-my-geolocation.inc” containing your custom cca_custom_lookup function and place it in your “/wp-content/cca_maxmind_data/” directory. As a minimum the function must: set $GLOBALS[‘CCA_ISO_CODE’] to the 2 character ISO country code identified by your geolocation system; if your geolocation system reports an error or cannot identify the visitor ... Read More
If you are using Cloudflare for geolocation then this page has no relevance or interest. The CCA & Country Caching Plugins check your server’s IP variables (in this order) “HTTP_CLIENT_IP”, “HTTP_X_FORWARDED_FOR”, “HTTP_X_REAL_IP and “REMOTE_ADDR” for the first occurrence of a valid IP address. However you can use different PHP server variables, or change the order ... Read More
How to use the CCA plugin to customize your Wordpress Navigation Menu for visitors from specific countries. Read More
A Wordpress plugin that enables WP Super Cache to cache by page PLUS visitor country and display the correct country geo-location content, for your visitor. Read More
A Wordpress plugin that enables Comet Cache cache by page PLUS visitor country and display the correct country geo-location content, for your visitor. Read More