Are you looking for a way to set up WP Super Cache on your WordPress website?
Search engines like Google now consider site speed to be an important ranking factor. WP Super Cache can make your site run faster, boost your site’s SEO, and improve the user experience.
In this article, we’ll show you how to install and set up WP Super Cache on your website.
What is WP Super Cache and Why You Should Use It?
WP Super Cache makes a copy of each page on your site in the form of a static HTML file. This way, whenever someone visits your site, they’re served the copied version quickly instead of generating the entire website from scratch.
As a result, your WordPress site’s speed and performance improve dramatically. The cache plugin skips a lot of steps behind the scenes to ensure that your visitors don’t have to wait for the page to open.
With a fast-loading website, you can see a boost in your WordPress SEO and search engine rankings. Google gives a significant advantage to faster websites, as it uses website speed as a ranking factor.
Besides that, you’ll also improve the experience of your website visitors. A site that loads quickly encourages people to visit it more often. This way, you get more engagement and conversions as users spend more time on pages.
Now, are you ready to set up WP Super Cache on your website? Let’s find out.
Setting Up WP Super Cache – The Easy Way
Upon activation, WP Super Cache will notify you that caching is not enabled on your website at the moment.
To enable cache, go to Settings » WP Super Cache. Then under the Easy tab, go ahead and click on the ‘Caching On’ option. Once you’ve done that, click the ‘Update Status’ button.
After turning on the cache, you’ll need to scroll down to the Cache Tester section and then click on the ‘Test Cache’ button to check if it is working.
WP Super Cache will fetch your WordPress site twice and will compare the timestamps of both pages. If both timestamps match, then this means that caching is working on your site now.
WP Super Cache Advanced Set up
WP Super Cache is a powerful WordPress plugin that comes with many advanced options. These options can further improve your site’s performance and provide more control over how the plugin will cache your site.
To set up WP Super Cache with advanced options, go to the Advanced tab in the WP Super Cache plugin. Next, click the checkbox for ‘Enable Caching.’
Below caching, you’ll see options for Cache Delivery Method. We recommend using the ‘Simple’ option if you’re a beginner and unfamiliar with editing your server files.
Enable Compression in WP Super Cache
Compression allows WP Super Cache to serve cached files as compressed files, which improves load time. These files are downloaded by browsers more quickly due to their smaller size.
To enable compression, scroll down to the Miscellaneous section and check the box that says ‘Compress pages, so they’re served more quickly to visitors.’
Enable Dynamic Caching
If you want to keep certain parts of a webpage dynamic during caching, then WP Super Cache offers an option for it.
To enable the option, you can head over to the Advanced section and click the checkbox for ‘Enable dynamic caching.’
Enabling dynamic caching is useful in certain situations, especially if you have pages that contain frequently changing content. For example, you can speed up pages that contain ads by allowing dynamic caching.
Set Up Expiry Time & Garbage Collection
WP Super Cache lets you set up the expiry time and frequency of deleting cached pages from your server.
To start, simply scroll down to the ‘Expiry Time & Garbage Collection’ section under the Advanced tab to configure it.
The ‘Cache Timeout’ tells the plugin to remove the cached page and perform a fresh cache. The plugin will set it to 1800 seconds by default, which is great for a high-traffic website.
However, if you have a new website that doesn’t get a lot of traffic, then 3600 seconds is a good starting point.
Other than that, you can schedule a time for the plugin to check for stale cached files and remove them.
Specify Pages You Don’t Want to be Cached
By default, the plugin will cache all the pages on your site. This can increase the size of your cache files and use more resources. However, WP Super Cache allows you to add pages that you don’t want to be cached.
You can scroll down to the ‘Rejected URL Strings’ section in the Advanced tab to start. In the text box, go ahead and enter the URL string of the pages that you don’t the plugin to cache.
For example, if you have an eCommerce store, then you can exclude pages that visitors don’t often visit and save server resources. These can be the checkout page, account page, and thank you page.
When you’re done, don’t forget to click the ‘Save Strings’ button.
Setting up CDN with WP Super Cache
Most content websites serve a lot of static files with each page request.
A CDN is a network of geographically distributed servers that help quickly deliver content to your visitors. For more details on how it works, check out our infographic on what the Heck is a CDN.
Note: Setting up a CDN with WP Super Cache is a bit technical and will require some experience with CDNs. If you’d prefer an easier method, then CloudFlare is a free CDN provider that’s easy to set up. See our tutorial on how to set up CloudFlare’s free CDN on your WordPress site.
To set up CDN with WP Super Cache, go ahead and click on the CDN tab and then check the box next to the ‘Enable CDN Support’ option.
Now enter your offsite URL, which will be the URL of your pull zone. A pull zone tells the CDN where to find your files and how to serve them to your users. For example, you can enter the following: https://cdn.wpbeginner.com
In the Additional CNAMEs field, enter other CNAMEs you have created for your pull zone. For example, http://cdn1.wpbeginner.com, http://cdn2.wpbeginner.com , http://cdn3.wpbeginner.com.
You can leave the other settings to default. Lastly, check the box that says ‘Skip https URLs to avoid “mixed content” errors’ and save changes.
Now your website is ready to serve static content from a CDN.
Serve a Static Site with WP Super Cache
The preload mode in WP Super Cache allows you to create super cache static files for all your posts and pages and serve a static website. This way, your content will load quickly whenever someone visits your site.
A super cache static file helps conserve server resources, serve an old site that is not being updated anymore, and improve site speed by serving static content only.
To start, head over to the ‘Preload’ tab in the WP Super Cache plugin. Next, you can set the time for refreshing the preload cache files.
By default, the plugin will set it to 600 minutes, but you can decrease the time if you publish multiple articles every day.
Do remember that pre-loading your entire WordPress site takes some time and consumes a lot of resources on your server. You can leave it to 0 if you do not want your static files to expire ever unless you manually refresh the cache.
After that, make sure that you check the boxes for ‘Preload mode (garbage collection disabled. Recommended).’ You can also enable preloads for different tags, categories, and other taxonomies on your website.
The plugin also offers an option to get email alerts whenever your files are refreshed. By default, it will use the ‘No Email’ setting, but you can change it by choosing an option from the dropdown menu.
When you’re done, go ahead and save your settings and then click the ‘Preload Cache Now’ button.
We hope this guide helped you set up WP Super Cache on your WordPress blog. You may also want to check out our tutorial on how to move a WordPress site from HTTP to HTTPS, or see our expert pick of the best domain registrars.