Home
/
SuperCacher Tutorial
/
How to Enable SuperCacher in WordPress

How to Enable SuperCacher in WordPress

This tutorial explains how to configure your WordPress site to work with our SuperCacher dynamic caching service. The first thing you need to do is to download the SG Optimizer WordPress plugin.

How to Access the SuperCacher Settings

Once you install the plugin, go to SG Optimizer in your administrator area.

How to Enable the Dynamic Cache

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 button 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 Site Tools, 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. Click on Purge Cache on the site and all the cached information for your site will be cleared.

How to Enable Browser-Specific Caching

We recommend you to enable this feature only if you’re experiencing issues with plugins, generating mobile version of your site or similar functionality. Once enabled, the cache has to be generated separately for different browsers which lowers its efficiency. To enable this feature move the Browser-Specific Cache toggle to ON.

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 press Exclude.

When adding URLs to the Excludes list, make sure to type only the part of the website you would like to exclude. The SuperCacher automatically fetches your domain, so what you should add to the list is only the name of the page, post or category you would like to exclude. For example, if your website’s URL is http://yoursite.com/ and you want to exclude the http://yoursite.com/dynamic-page/ URL, what you should add to the list is only the /dynamic-page/ part. Keep in mind that 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 /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.

Share This Article