WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by wrigs1 v0.8.0

Country Caching For WP Super Cache

Extends WP Super Cache to cache by page/visitor country instead of just page. Solves "wrong country content" Geo-Location issues.

Country Caching For WP Super Cache

The facts

Rating
4.3★ from 4
Active installs
200+
Price
Free
Last updated
24 Mar 2021
Added
Mar 2015
Requires WP
3.3
Tested up to
WP 4.9.31
Downloads
7,184

Our analysis

AI-assisted

Country Caching For WP Super Cache is a WordPress plugin that enables WP Super Cache to serve different cached content based on the visitor's country. It creates separate cache snapshots for each country, allowing for tailored content delivery. This can be particularly useful for websites that wish to customise their offerings for different geographical audiences.

The plugin identifies visitor locations using either Cloudflare or MaxMind's GeoLite2 data. Users can restrict caching to specific countries or create a single snapshot for a group of countries, such as all EU nations. However, the author has stated that they are no longer able to develop or support this plugin.

Best for: This plugin suits website owners who need to deliver country-specific content and are familiar with caching and FTP management.

What it does well

  • Enables country-specific caching for WP Super Cache
  • Supports both Cloudflare and MaxMind for geo-location
  • Allows restriction of caching to specific countries
  • Works on normal WordPress and Multisite installations
  • Bonus functionality for Cookie Notice compatibility

Where it falls short

  • No longer actively developed or supported
  • Requires knowledge of FTP for troubleshooting
  • Potential for outdated MaxMind data without regular updates

Verdict

Country Caching For WP Super Cache offers useful functionality for geo-targeted content delivery, but its lack of ongoing support may be a concern for users.

From the developer

wrigs1's own description of Country Caching For WP Super Cache, lightly tidied.

DUE TO PERSONAL CIRCUMSTANCES I AM NO LONGER ABLE TO DEVELOP OR SUPPORT THIS PLUGIN. IF YOU ARE INTERESTED IN ADOPTING THIS PLUGIN SEE https://developer.wordpress.org/plugins/wordpress-org/take-over-an-existing-plugin/

Bonus also makes Cookie Notice work correctly with WPSC (whether using country/EU geolocation or not).

Allows WP Super Cache to display the correct page/widget content for a visitor’s country when you are using geo-location; solves problems like these reported on WordPress.Org and StackOverflow.

A similar extension is available for Comet Cache.

This plugin builds an extension script that enables Super Cache to create separate snapshots (cache) for each page based on country location.

Separate snapshots can be restricted to specific countries. E.g. if you are based in the US but customize some content for Canadian or Mexican visitors, you can restrict separate caching to CA & MX visitors; and all other visitors will see the same cached (“US”) content.

You can also specify a single snapshot for a group of countries e.g. all European Union countries.

It works on both normal WordPress and Multisite (see FAQ) installations.

More info in the user guide

Identification of visitor country for caching

Via Cloudflare or Maxmind (when the plugin is first enabled it uploads GeoLite2 data created by MaxMind, available from http://www.maxmind.com ). Cloudflare works with any PHP version, but Maxmind Geolite2 requires PHP 5.4 or later. It is also possible to connect a different GeoLocation sytem of your choice (see documentation).

If you use Cloudflare and have “switched on” their GeoLocation option ( see Cloudflare’s instructions ) then it will be used to identify visitor country. If not, then the Maxmind Country Database will be used.

Updating (If not using Cloudflare for country) The installed Maxmind Country/IP data file will lose accuracy over time. To automate a monthly update of this file, install and enable the Category Country Aware (CCA) plugin (Country Caching and the Cataegory Country Aware (CCA) plugins use the same Maxmind data file in the same folder and the CCA plugin includes code for its update). The CCA plugin has many other features and functionality you may find useful. Alternatively you can manually update (FAQ below).

Advice

I don’t recommend you use ANY Caching plugin UNLESS you know how to use an FTP program (e.g. Filezilla). Caching plugins can cause “white screen” problems for some users. WP Super Cache is no different; when I checked the first page of its support forum it included 4 posts like this. Sometimes the only solution is to manually delete files using FTP or OS command line. When deactivated/deleted via Dashboard->Plugins; the Country Caching plugin deletes its files, but in “white screen” situations you may have to resort to “manual” deletion – see FAQ for instructions.

License

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for making sites fast.

WP-Optimize

Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...

Free 1M+ installs 4.8★ (2,606)
LiteSpeed Cache

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

Free 7M+ installs 4.8★ (2,764)
EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...

Free 1M+ installs 4.8★ (1,838)
Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
Converter for Media

Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...

Free 500k+ installs 4.9★ (1,097)