WP Super Cache Plugin – Complete Configuration & Setup Guide

How to configure WP Super Cache Plugin

The core of WordPress is getting better and more functional. But because a large number of plugins we usually install and the poorly optimized themes, makes the site slow down. If you want your site too fast loading times as possible. Sooner or later you will need to implement the cache in web pages. This is one of the factors that can affect the performance of your website. And is an indispensable tool to optimize the loading of your web pages along with other settings of your server.

A very important parameter for every website is the loading time of web pages. That has a dramatic impact on two levels.

  1. On the visitors’ side, a page that takes more than a certain time to load is to be abandoned without being seen. Because too much loading time annoys the visitors.
  2. On the other hand search engines also give importance to loading times versus the ranking of results. Therefore, shorter loading time has the better search engine ranking.

WP Super Cache is one of the most powerful and easy to configure cache plugin without any doubt. A plugin that does its job well and does many other things. That is why the use of a good cache plugin becomes essential. In this guide, we will explain how to configure the Wp Super Cache Plugin properly.

Previously we used similar the plugin W3 Total Cache. But a few months ago we stopped using W3TC because of its difficult configuration. Wp Super Cache offers better performance.

WP Super Cache - Complete Configuration & Setup Guide

WP Super Cache plugin

WP Super Cache is a relatively simple plugin. For those who have not too advanced knowledge about using this type of cache tools. The WP Super Cache is a powerful plugin and comes with many advanced options (such as Basic).

Using cache in your existing web pages is a variable factor and depends on your current environment. This tutorial describes one of the easiest ways to implement a smart and powerful cache in WordPress. If you are on a shared host, VPS  or even on a dedicated server, this tutorial should meet your needs.

These settings and tips in this tutorial have been acquired with a lot of experience. In this article, you will find a perfect setup to optimize your WordPress website.

These settings can improve and optimize the performance of your website, alleviate the features of your WordPress Hosting and even allow your visitors to have a fast experience when browsing your website.

Installing WP Super Cache plugin

WP Super Cache plugin creates copies of the web in HTML format, thus speeding loading time and reducing resource consumption. Whether you are a beginner or an expert, WP Super Cache plugin. is very easy to install and configure.

Wp Super Cache is available in the WordPress plugin repository. So you can install it from the administration interface. Go to your plugins panel, find it by clicking on the “Find Now” box from Plugins> Add new. In the search bar type “WP Super Cache” (without quotes), then click install. Once installed, activate the plugin. You can also download the plugin through the repository in WordPress.org.

WP Super Cache - Complete Configuration & Setup Guide

You can see a notification at the top of the plugins page as soon as you activate the plugin. Click the link (admin page) that takes us to the administrative page of the WP Super Cache plugin. So we can start the configuration process.

Permalinks Incorrect

WP Super Cache - Complete Configuration & Setup Guide

If you are receiving another notification requesting to change the structure of your permalinks. Then Click on the link indicated or go to Settings> Permalinks and choose any other option than the first one.

WP Super Cache Warning

WP Super Cache - Complete Configuration & Setup Guide

If an ” index ” directory is found in your website cache then WP Super Cache plugin will display a message. This message is a serious problem and should be treated. This means that Login Cookies have been found in the Cache of your Website which facilitates access to any Hacker who wishes to use this advantage to access your server. To resolve this click on ” Logout “. This will remove all active users and request a new access except you. You will continue to access the website as usual.

WP-CACHE Constant

WP Super Cache - Complete Configuration & Setup Guide

Now we have solved this, let’s open the WP Super Cache plugin settings. Go to Settings> WP Super Cache. The first thing you will notice is a yellow box. This is normal. However, this yellow box should not appear every time you open the WP Super Cache plugin settings – it’s a one-time message. If it appears every time, just follow the ” Troubleshooting Guide ” link to solve this problem.

WP Super Cache Configuration

To begin, go to “Settings” and then click “WP Super Cache”.

Easy (Tab 1) 

The Easy section allows you to enable or disable the main cache options with a single, simple change. Although the plugin comes with a fairly acceptable configuration and you could simply activate from this section.

However, in the Easy tab under Settings> WP Super Cache> Easy you can simply and quickly activate the Cache on your website. After that, there are the numbers of powerful options that can make your site faster. If you want to test the advanced settings, proceed to the next step.

WP Super Cache - Complete Configuration & Setup Guide

Remember that, disable or enable will not generate another cache file. For this tutorial we will configure the plugin with the cache disabled, So check Caching OFF and save it.

To test the cache click the “Test Cache” button, and you should receive a message as in the image.

WP Super Cache - Complete Configuration & Setup Guide

In the next option, you can delete the old cache files and generate the new cache files to served the visitors with updated content.

Advanced (Tab 2)

In the Advanced tab, there are much more options that we can use to control the cache of web pages. And where you can retouch the settings of the plugin to fit the needs of your site, it will depend on the type of content you offer.

In the Advance Tab, there are multiple options of this plugin to optimize the cache of your website. This is probably the part you’ve been waiting for to start true optimization. So let’s go!

Note: While we are performing this configuration our cache is OFF. It is important that you maintain your settings, in the same way, to continue with this tutorial.

WP Super Cache - Complete Configuration & Setup Guide

Caching

This option controls the use of the cache at the global level. Simply mark the first box and then select one of the types of cache to implement:

Selecting this option the plugin will automatically generate cache pages when a visitor visits your page.

1. Use mod_rewrite, PHP or Legacy to serve cache files: 

If you encounter problems while performing the cache test, as shown above, use PHP to serve the cache and check the options according to the tutorial.

  • .htaccess This type of cache is using the .htaccess file to provide the files and pages cached. It is the most efficient type of cache, although sometimes it can present some incompatibilities.
  • .PHP It uses PHP to serve the cache files instead of generating the pages. This is the most recommended option for beginners, as it has a good balance between performance and flexibility.
  • Legacy. It uses an older form of caching, present in the first versions of the plugin. It is more flexible and compatible than PHP, but with less efficiency.

Miscellaneous: 

WP Super Cache Plugin - Complete Configuration & Setup Guide

Here you can retouch the behavior of the plugin in specific situations. This is a very important part because it will allow you to avoid errors and serve cache pages only when appropriate. The image above indicates the recommended settings, although it is worth explaining more in depth some options: Let’s understand a bit more about these configuration options and show you which option to choose to achieve consistent, balanced, and optimized optimization for your website.

1. Compress pages so they’re served more quickly to visitors. (Recommended): 

This option will compress the pages before sending them to the visitor to reduce their weight and save bandwidth. This option also allows pages to be reduced before being sent to the cache. And decreases the size of your pages, further optimizing the cache that will be served to your visitors. It is highly recommended to activate it since it will improve the loading speed of your pages. However, if your hosting has compatibility problems you may have to leave it disabled. Leave this option checked.

2. Don’t cache pages for known users. (Recommended):

With this option, the cache will no longer be used for users who have already commented on your blog or those who have accessed your site with a user account. It is very important to avoid using the cache in these cases. Because if you use a private zone where you sample very dynamic, you want to make sure they are always updated. Cached pages are not ready for users who comment or regularly log into your website.So allowing cache pages to be served to known users is not a good option. This option allows the administrator or other users to see the actual data without any cache. Leave this option checked.

3. 304 Not Modified browser caching. Indicate when a page has not been modified since it was last requested. (Recommended): 

Here you can enable the plugin option that indicates when a cached page has not been modified since your last request. Since we are using mod_rewrite in our settings this option should not be available to you. If you are NOT  using mod_rewrite, check this option.

4. Cache rebuild. Serve a super cache file to anonymous users while a new file is being generated. (Recommended):

This option is extremely important to have it activated, as we will explain later. In a nutshell, it will make your cache files regenerate from time to time. Serves an old cache file for anonymous users while the plugin updates the cache with more up-to-date information. This option is great for websites that have members or subscribers. Remember that users are not visitors, they are visitors logged into your system (there is a difference). Leave this option checked.

5. Don’t cache pages with Getting parameters. (?x=y at the end of an URL): 

(At the end of an URL). This option causes the cache not to be used when accessing an URL of your site with a query string (for example,? S = x at the end of the URL). This is recommended to have it activated since this type of URLs is used to generate very dynamic content, such as searches on your site. Cached pages should not contain content with Getting Parameters, as these need to be updated frequently. Cached pages do not do this, so check to make sure these pages are not cached.

6. Make known users anonymous so they’re served super cached static files:

Cached pages are not ready for users who comment or regularly log into your website.So allowing cache pages to be served to known users is not a good option. This option allows the administrator or another user to see the actual data without any cache. Leave this option checked.

7. Proudly tell the world your server is Stephen Fry proof! (places a message in your blog’s footer):

Adds a message in your site’s Footer stating that the website is optimized by the WP Super Cache plugin and its author. Leave unchecked if you do not want to display the message.

Advanced 

WP Super Cache Plugin - Complete Configuration & Setup Guide

The advanced part of the plugin consists of rules and functions specific to different types of needs that we will cover just below.

1. Enable Dynamic Caching

This option allows you to save dynamic data from your website. Only the first visit will use the server resources with this option, the rest will be served with dynamic caching.As we are using Mod_rewrite this option will not be available, if you do not use it, leave it checked.

2. Mobile Device Support

Here we can enable cached pages for mobile devices. This way your visitors who use this type of device will also be served with cached pages. Having a much more efficient experience. Leave it on.

3. Remove UFT8 Charset

This option removes UTF8 Charset from your .htaccess file. Just check this option if you are seeing strange characters on your website, very difficult to do. Leave unchecked.

4. Clear All Cache Files

Delete all cached files when a new post or page is published or updated. Generating a new file with the most updated data. Leave marked.

5. Extra Homepage Checks

Sometimes the WP Super Cache plugin cache still unknown for some reasons “forgets” to perform the cache of the homepage of your site. This option checks to see if the homepage cache has been updated. If it has not been updated, it updates and sends it to the cache file. Leave marked.

6. Refresh Current Page (Comments made)

If a comment is made on your page or post, the cache will be deleted and a new one generated with the new comment and more current data. This option is important because it only updates that individual post or page, without having to delete the entire cache file. Leave marked.

7. List All Cache Pages

Lists all cached pages on this plugin’s configuration page so you can see which files are cached and which are not. This depends on whether you need to know if a page is cached or not. Leave unchecked.

8. Coarse File Locking

First of all, I want to say that this option can cause many problems on your server if not used correctly. What it does is create a chain locked by the entire process of caching. This option is only used when we expect a lot of visits on our website, such as a TV campaign or some online SHOW that will attract many visitors in a short period of time.Leave Unchecked!

9. Late Init

Displays cached files as soon as WordPress loads. This option works best with the Legacy mode, which we are not using in this tutorial. Leave unchecked.

Cache Location

WP Super Cache Plugin - Complete Configuration & Setup Guide

Here you can define where you want to cache your website’s files. I recommend that you leave the default value and do not modify this option.

Now that we have finished all the settings on the Advanced tab, click the Update Status button.

Expiry Time & Garbage Collection

WP Super Cache Plugin - Complete Configuration & Setup Guide

Now let’s set the time and frequency that the cached data on your server will be valid.

1. Cache Timeout

By default, in terms of garbage collection, the cache timeout is 3600 seconds. If you have a large number of articles on your site, then set a longer time.

2. Scheduler

Here you should set it for a set amount of time (3600 seconds) or choose a time of day for the garbage collection to be performed. You can set it every hour, 1 time a day or 2 times a day.

3. Notification Email

If you want to receive a notification email every time the garbage collection is completed, check this option.

Accepted Filenames & Rejected URIs

WP Super Cache Plugin - Complete Configuration & Setup Guide

Here we can define which file types and URIs should NOT be sent to cache. This is important when you have a file type that uses frequently updated data and you do not want that data to be cached to visitors or users.

The other settings may default as we will not need to use them in our configuration.

CDN (Tab 3)

WP Super Cache Plugin - Complete Configuration & Setup Guide

 

Here we have the CDN settings. Some websites serve static files for each page request. These files like images, JavaScript and CSS are served through a CDN. Pufmag.com uses CDN to serve static files on our website and you can see how fast our images load.

If you use a CDN service like MAXCDN  then we can set the settings for your website here. If you do not use a CDN service on your website go to the next step.

1. Enable CDN Support

Select this box to enable CDN support and to make the settings below take effect on your website.

2. Off-site URL

Here we should put the CDN URL that is provided to you as soon as you create a PULL ZONE in your CDN settings. Something similar to this “nomediasite.nomediapufmag.netdna-cdn.com”. If you have set up a CNAME then your URL may look like cdn.website.com, image.website.com, js.website.com, css.website.com, and so on.

Remember that when you add the URL it must have the HTTP: // protocol.

3. Include Directories

Directories that should be included in the CDN static files. By default, we will only use wp-content and wp-includes. Leave the options as default.

4. Exclude if Substring

In this option, we can define which file type should NOT be included in the CDN static files. .php already comes as default, if there is another type of file that you do not want to be served by the CDN add the extension with the “.” (Dot) here.

5. Additional CNAMES

In the first option, we added the default CDN URL to our static files. Here you can set additional CNAMES as informed above. This way you can provide images through image.website.com, JavaScript through js.website.com and etc. Normally this should be blank unless you need to use this option.

6. Skip https URLs to avoid “mixed content” errors

This option should only be used if you use SSL on your website. It will prevent static content from being served incorrectly. If you do not use SSL on your website, leave it unchecked.

 Preload (Tab 4)

WP Super Cache Plugin - Complete Configuration & Setup Guide

Preload will cache every post and page posted on your site. It will create a SuperCache of static files so that unknown visitors (including bots) are served with cached files.

Preloading creates batches of files. The caching is done from the newest post to the oldest, so consider adding only the newer posts if you have many (10,000+). This is especially important in shared hosting. I’ll show you how to add a specific amount of posts later.

NOTE: The PRELOAD function is experiencing many problems on several websites. Our recommendation at this time is that you do not use this feature and skip to the next step of this tutorial. So we skip the Contents tab because there is nothing we need to set there.

Optimizing Files and Images

Congratulations, you have successfully configured the WP Super Cache plugin. Now is the time to optimize our files and images.

If you believe that just using this plugin is enough to leave your website at the speed of light, well, you are mistaken. When it comes to our website there are several guidelines that we should consider when dealing with something delicate as speed.

Now we will complete our tutorial with two tips that will elevate the speed optimization of your site to another level.

Optimizing Files

To optimize our files and make them more efficient in addition to the settings made in this tutorial, we’ll use another plugin to complement our optimization.

We will need to install and activate the BWP Minify plugin to have our files optimized as much as possible. The configuration of this plugin is very simple and fast, so pay close attention to the following steps.

Plugin Functionality

WP Super Cache Plugin - Complete Configuration & Setup Guide

As soon as you activate the plugin, in your WordPress panel you can see a new option called ” BWP Minify “, click on it. Now that we are in the general options of the plugin, select the boxes as in the image above.

Minify Library Settings

WP Super Cache Plugin - Complete Configuration & Setup Guide

At the bottom of the page under ” Minify Library Settings ” select the options according to the image above and click “Save Changes”.

Note:  If you realize after the end of this tutorial that some functions, design or transitions are not working as they should try to disable the “Minify JS Files” or “Minify CSS Files” option under “Plugin Functionality” in the BWP Minify settings.

Remember to use the “Flush Cache” in the BWP Minify options and Clear the WP Super Cache Cache before seeing if the problem is resolved.

Now all of our files are minified, fully reduced, and optimized for caching. Remember that our cache is OFF so far? The reason is exactly why we need to optimize the files and images before they are sent to the cache. This ensures that only the most optimized content will be shipped.

Optimizing Images

We’ve already covered this tutorial on Optimizing Images in WordPress with the WP Smush Plugin. And that’s exactly what we’re going to use here to finalize our image optimization. The plugin is very simple to use, only the optimization process can be more time-consuming.

Smush In bulk

As soon as you install and activate the plugin go to Media> WP Smush. Click Bulk Smush Now, wait for the entire process to be completed. Do not leave the screen until the green bar is complete, optimization only occurs when the screen is open on this page.

Finishing Setup

Once you have finished optimizing all your images, let’s go to the most fun part of the tutorial, test our speed!

Go back to the WP Super Cache plugin in Settings> WP Super Cache> Easy Tab. Activate the cache in “Caching On” (recommended)  and save. Now log out or use the browser anonymously and visit your website to find out how fast your page is loading. If you want you can take a look at our list of Speed Test Tool.

Conclusion

The WP Super Cache plugin is powerful and simple to use. Besides being very versatile for those who need some different settings in their cache. With the tips, I’ve given you above you’ll see how this plugin can be more powerful than you imagined. Try it with these settings and you will be amazed how it can help you to optimize the speed and experience in an easy way.

If you found this article interesting or if it was useful to you in some ways consider sharing on social networks. You can also leave your comment below to share your opinion about our settings.

The Wp Super Cache plugin offers many other options that allow you to further optimize the performance of a web, but its correct configuration is not easy and depends on a lot on the type of web.

Overall, doing what we recommend in this guide should be enough to improve the loading speed of your WordPress in a clear way.

Make Your WebSite Faster

If you have correctly configured WP Super cache plugin, the difference in load speeds should be noticeable. Making use of the cache to serve your pages will not only increase the speed of your site considerably, but the search engines may even give you a better rating. It is also possible to reduce the processing load on your server since you do not have to access your database on every page that you show to your visitors.

Leave a Reply