How to Enable the SuperCacher in WordPress

Learn how to configure your WordPress site to work with the Varnish-powered SuperCacher

In this tutorial we will show you how to configure your WordPress site to work with our SuperCacher dynamic caching service. The first thing you need to do is to enable the Dynamic caching from your cPanel. Once you do that, you'll be provided with a special WordPress plugin that you need to download and install on your site. Check out this tutorial for more information on how to install WordPress plugins. Once you do that, check out the instructions below for more information on how to use the plugin with your site.

How to Access the SuperCacher Settings

Once you install the plugin, you will see a new item named SuperCacher added to your left menu. Click on it to access all SuperCache settings.

How to Enable the Dynamic Cache

In order to start using the dynamic caching system, you need to enable the Dynamic Cache for your WordPress site. To do this, click on the Dynamic Cache toggle and set it to ON. This is the "master switch" for the dynamic caching. If it's not set to ON the other dynamic caching settings won't work.

How to Enable the Dynamic Cache Autoflushing

The main reason we've designed the SuperCacher plugin for WordPress is the Autoflushing functionality for the Dynamic caching system. To enable it, move the AutoFlush Cache toggle to ON. When you do that, the plugin will automatically flush the cache when your content is changed. For example, the cache will be flushed when you edit your posts, your theme through the WordPress editor, edit comments, etc.

How to Flush the Dynamic Cache Manually

In certain cases you may want to flush the Dynamic cache manually. For example if you edit your theme files via FTP, the File Manager tool in your cPanel, SSH or even GIT you will need to flush the cache manually. This is required, because the plugin cannot detect events outside the WordPress application and clear the cache. However, we've made the manual flushing of the cache as easy as possible. Simply click on the Purge the Cache button on the site and all the cached information for your site will be cleared.

How to Manage the Caching Exclude List

The exclude list is the latest feature we've added to our WordPress plugin for the SuperCacher. It allows you to exclude specific URLs or groups of URLS from being cached. This is useful especially if you have posts/pages that have a lot of dynamic content in them and should not be cached. To add an URL or group of URLs to the exclude list, type them in the exclude list and hit the Update the Exclude List button.

Each entry should be added on a separate line. The plugin will remove all matching URLs from the cache. This means that if you add http://yoursite.com/category/dynamic-content/ to the list, all posts in that category with URLs like http://yoursite.com/category/dynamic-content/post-1 will be excluded from the cache. In addition, you can add parts of your site like /store/ to exclude all pages with this string in their URLs.