W3 Total Cache (W3TC)

CF Geo Plugin has W3 Total Cache (W3TC) compatibility. To cache plugin integration work, you need to approve cache compatibility in CF Geo Plugin settings.

It is very important that you disable “server cache” inside the W3 Total Cache plugin.

server cache is a service that saves Web pages or other Internet content locally by placing previously requested information in temporary storage, or cache, that’s speeds up access to data and reduces demand on an enterprise’s bandwidth.

The cache plugins create a snapshot of every page on the site, save to static HTML files and serve instead of dynamic content. This option is good because it avoiding excessive database queries and loading site faster (not in all case), but there are problems when it comes to dynamic content.

If we set up a geo location (which is dynamic for each visitor) and cache plugin make the snapshot, all users will see the same geo location that was created when that cache file was created, what is not good.

Our plugin uses JavaScript and AJAX to avoid this problem but due to the complexity of our plugin and because the cache plugin authors didn’t yet support our plugin, we have a sometime problem with plugin functionality.

The CF Geo Plugin team strives to compensate for this problem and support all existing plugins, but there is always something that may come as a surprise and where it is necessary for someone to support us as well.