Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Install and Setup WP Super Cache for Beginners

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

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 of your website visitors.

In this article, we’ll show you how to install and set up WP Super Cache on your website.

How to Install and Setup WP Super Cache

What Is WP Super Cache and Why You Should Use It?

WP Super Cache is one of the most popular and best WordPress caching plugins. It’s a free plugin and has over 2 million active installs.

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

The first thing you need to do is install and activate the WP Super Cache plugin on your website. For more details, you can follow our guide on how to install a WordPress plugin.

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.

Enable caching in WP Super Cache

After turning on the cache, you’ll need to scroll down to the Cache Tester section.

Once there, you should click on the ‘Test Cache’ button to check if it is working.

Test the cache

WP Super Cache will fetch your WordPress site twice and 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 Setup

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.

Enable Caching

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.’

WP Super Cache advanced settings

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 smaller and can be downloaded by browsers more quickly.

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.’

Miscellaneous advanced cache settings

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.’

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.

Set up Expiry time and garbage collection

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.

Add page URLs to remove from caching

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.

This includes JavaScript files, images, stylesheets, and more. Unlike your WordPress posts which are dynamically generated by PHP, these files can be served using a Content Delivery Network (CDN) service.

A CDN is a network of geographically distributed servers that help quickly deliver content to your visitors. For more details, check out our infographic on why you need 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

Enable CDN support

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.

Click the skip HTTPS URLs option

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.

Preload super cache file

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.

Expert Guides on WordPress Caching

Now that you know how to set up WP Super Cache, you may like to see some other articles related to WordPress caching.

We hope this guide helped you set up WP Super Cache on your WordPress blog. You may also want to see our guide on how to move a WordPress site from HTTP to HTTPS or our expert pick of the best hosting providers to speed up your site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

108 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Greg says

    Hi, I’d like to know whether your guidance to choose mod_rewrite to serve cache files still stands as opposed to using PHP or Legacy Caching. I notice since you published your article, WP Super Cache have changed their own recommendation from mod_rewrite to PHP.

    Thanks in advance!

    Greg

  3. Dillon says

    Hi there. I’ve followed this tutorial to a T, and for the most part, everything works correctly, but I’m having two problems. First, when I make changes, they don’t appear on the site if I’m logged in. If I log out, they appear just fine. Second, I’m working on a WPMU network, and I only have the plugin installed on one site. But it’s caching the other sites on the network as well. How do I stop it from doing that? Thanks!

  4. Belayet Hossain says

    This is an awesome guideline for new users.
    It helped me a lot.

    Thanks from the core of heart.

  5. Sarah says

    Hi,
    I followed your steps because my site was taking over 5s to load but after setting up the WP Super Cache my site wouldn’t load. At all. It was basic HTML – no content, no pictures, just the header…
    So, I guess I’m wondering if there’s a laymen’s guide to literally all the terms you use cause I don’t understand websites or programming and I have a website for a start-up NGO so can’t really pay for any help at this point.
    Or maybe you could direct me somewhere that will help me understand all this better? I’m a complete novice and confused easily!
    Help!

  6. Pedro Moreira says

    Hello,

    I have a “conceptual doubt” about WP Super Cache, that I didn´t see answered neither in your site neither in other sites.

    The question is: the structure of my site is finished. In basic terms, it is mainly a site of videos of football, which means that from this day on I will gradually add posts (that include the videos that I refered) and pages (of the teams).

    Since that this will be a long and permanent process, I need right now to speed up my site because nowadays is very slow.

    My doubt is: when I install and configue this plugin, what does that mean in terms of the updates that I will do in my site (post and pages that I add)?

    I mean, if I cache the site today and tomorrow I add a new page or post, what do I have to do in order that these pages or posts will be also cached? – do I just have to require an update of the plugin? If so, how do I do that, is it possible to define that the plugin will update the cache for example once a week?

    Thank you!

    Best regards.

  7. Herman says

    I’m getting an error on the first step where you need to click on caching on and update. You mentioned the following in your article:
    “WP Super Cache will fetch your WordPress site twice and will compare the time stamps of both pages. If the both time stamps match then this means that caching is working on your site now.”

    This is the place where I get the error. I get a message that says:
    Fetching to prime cache: OK

    Fetching first copy of FAILED

    Fetching second copy of : FAILED

    I would be glad if you could help me out.

  8. Teddy says

    My site is a coupon site, so code is included on the coupon so it prints out by itself without lots of other junk that is on the page. If I use WP Super Cache, will that code be lost because it’s now a static page? Will people still be able to click on the coupon to print just the coupon?

  9. Alex says

    Thanks so much for the the help. Do i have to create a cname record to use the CDN service in WP super cache. Thanks

  10. Stefan Andonov says

    Hi,
    How to preload for several languages, I am using qtranslate, that seems impossible, right?
    10x
    Stefan

  11. John Johnson says

    This is an ecommerce site using Exchange from iThemes. With WP Super Cache activated certain pages that need to be refreshed don’t get refreshed i.e. Empty Cart. When you Empty Cart it comes back with the same content or in other words it appears unemptied.
    When I deactivate WP Super Cache the problem disappears. It was suggested that I Whitelist the pages that shouldn’t be cached. I am uncertain about how to do that. Any help would be appreciated.
    Regards,
    John

  12. Dajuan says

    WP Beginner Staff, when a theme update is applied, or when other plugin updates are made, is WP Super Cache alerted to create new cached versions? Or does the plugin wait until “Expiry Time & Garbage Collection” or a manual cache deletion?

  13. Iosif says

    Hello,

    I am using WP Super Cache, but it seems that my images don’t get cached. Any ideas on how to configure this?

    I did have a lazy load plug-in, but it conflicted with my theme, so I deactivated it…

  14. shubhendu says

    I have just install wp super cache plugin by reading your article but nor js,css and image is not loading at my blog…plz help my site address is

    If you dont want to publish is comment because i include my site link PLEASE reply to my email id.

    Thanks.

  15. madhavi jha says

    hi , i am regular reader of your site , i have setup WP Super Cache plugin as you guide in your blog , but its not working its show only 20/100

    please guide me ,i have been tried to solve this problem since last 2 days , please guide me .

  16. nitai roy says

    Hi,

    I followed as you mentioned here. Everything has done perfectly but I could not find this option: “Enable Compression in WP Super Cache:”
    Where is it please?

    Also, Now how can I know whether it is working perfectly or not?

    Thank you very much.

  17. kurakaniz says

    after updating the plugin it says “.htaccess file may need to be moved” and this error too

    A difference between the rules in your .htaccess file and the plugin rewrite rules has been found. This could be simple whitespace differences but you should compare the rules in the file with those below as soon as possible. Click the ’Update Mod_Rewrite Rules’ button to update the rules.

    what to do please help

  18. stephen says

    I installed everything just as you said but I am still getting 52sec load time and if I tried using gtmetrix I get an error saying the URL does not appear to be an HTML.home page . please help site is

  19. Megan Good says

    This article was very helpful, and I was able to troubleshoot my issues based on your suggested settings. Thank you for the info!

  20. Omprakash Jaiswal says

    wp super cache does not work
    Permlink Structure Error

    A custom url or permalink structure is required for this plugin to work correctly. Please go to the Permalinks Options Page to configure your permalinks.

  21. Hammad says

    Thank you for your suggestions, I’m trying to apply these settings on my website now. Can you please advise if wp super cache supports minify settings.

    I had wp3 total cache and had a score of 97/81 on gtmetrix, after installing wp super cache my score decreased to 82/68.

  22. Imran says

    Was looking for some great guide for super cache plugin. Now I will try it on my test site.
    Thanks for such a nice tutorial

  23. herb says

    Installed it and got a lower grade E/D on Gtmetrix…switched to W3TC and it gave me and A/B grade.

  24. efiga says

    Hi
    i have a little question , when using this plugin to cashe pages , the google adsense ads will be cashed too ? ,it will show the same ads ?
    thank you in advance

  25. avisdupublic.net says

    Hi, Thank you for this outstandly good article. However, I am facing several issues with WP S. Cache.
    The website is : avisdupublic.net

    1°) My Home page is a static one. However, when a new article is published, the /home must be changed (new article in the slider and so on). However, it is no the case! Moreover, when I just “update” this static page, by a strange miracle (not so strange because with the update, the cache-page is flushed), the /home becomes “normal”.

    2°) From 1°), I decided to tick the Pages, Front page, Is_home in the rejected ones. However no changes appeared in the /home.

    Do you have an idea where could be the problem ?

    Bests,

    (sorry for the poor english)

  26. Farcas Gelu Danut says

    I’m sorry for my poor English language.
    I use now WP Total Cache, CDN is Cloudflare, shared hosting.
    Specialists working at hosting company I recommend using wp super cache to replace the WPTotal Cache. What is your opinion?
    WP Total Cache internet is recommended, considered superior WP Super Cache.
    I use Google translate for this comment. Is OK?

  27. Nguyen Duc says

    Thanks for post, but i have a problem below:
    Warning! Could not update /home/d2c45a95/public_html/wp-config.php! WPCACHEHOME must be set in config file.
    Warning! /home/d2c45a95/public_html/wp-content/advanced-cache.php does not exist or cannot be updated.

    1. If it already exists please delete the file first.
    2. Make /home/d2c45a95/public_html/wp-content writable using the chmod command through your ftp or server software. (chmod 777 /home/d2c45a95/public_html/wp-content) and refresh this page. This is only a temporary measure and you’ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)
    3. Refresh this page to update /home/d2c45a95/public_html/wp-content/advanced-cache.php

    If that doesn’t work, make sure the file /home/d2c45a95/public_html/wp-content/advanced-cache.php doesn’t exist:

    1. Open /home/d2c45a95/public_html/wp-content/plugins/wp-super-cache/advanced-cache.php$wp_cache_file in a text editor.
    2. Change the text CACHEHOME to /home/d2c45a95/public_html/wp-content/plugins/wp-super-cache/
    3. Save the file and copy it to /home/d2c45a95/public_html/wp-content/advanced-cache.php and refresh this page.
    How to fix it, bro

  28. Joe Capone says

    I have Super Cache working…the contents show all of the pages in the cache. It has increased our site speed.

    the site is insuringincome.com

    For some reason, when I enter additional cnames and use http://content1.insuringincome.com,….
    Comma separated from content1-content10 (confirmed that all cnames are created in CloudFront districution)….I get a 404 error when saving.

    I have tried many different settings…nothing prevents the 404 from trying to save with additional cnames.

    Thoughts?

  29. Borislav says

    Hi Guys!
    First sorry my English, because it is not very good!
    I use wordpress and Boozurk theme version 2.02.
    I have a little problem and i want little help!
    The problem is: when i use my phone and surfing my site, sometimes the theme not switch to mobile view and everything in my site is with wrong view.

    I also use WP super cashe plugin. When i activate the cashe and continue surf the site, then the theme not switch to mobile view and show me a desktop view of the site.

    When i deactivate WP super cashe plugin and delete the cashe the view of the site on my phone is perfect. The theme switch to mobile view.

    Is there any settings of WP super cashe plugin that i have to make, and when i make them the people who surf my site with mobile phones or tablets,
    to surf mobile view of the site, not the cashe page of desktop view.

    I hope you will understand me! Thank you!

    • WPBeginner Support says

      Borislav, it seems that your theme uses php to detect mobile users and then switches the theme. When you are using WP Super Cache, it displays the standard theme from the cache, so the part where your theme detects and displays mobile theme is not executed. Your theme’s developer can help you better in this regard, or you can also try WP Super Cache’s support tab.

      Admin

  30. pipdig says

    Really useful, thanks! We managed to get one of our website’s loading time down from 6+ seconds to 0.8 using a combination of WP super Cache and Cloudlfare’s Rocketloader. Amazing!

  31. Thomas Frenkiel says

    I wanted to use mod-rewrite for a website that has WordPress installed in a subdirectory.
    This seemed to cause a problem (only homepage was showing). What kind of thing is best to do in this case? Is there a way to use mod_rewrite on a sub directory?

    Thanks in advance.

    • WPBeginner Support says

      There could be various reasons. There could be a conflict with .htaccess file in the parent directory or a comment missing # sign in your .htaccess file. You better post in plugin’s page under support tab.

      Admin

  32. Shantanu says

    Hi Sir ,
    Thanks for the post. I have a question , When i update or publish a post or page it does not appear on the homepage. This happens due to Wp Super Cache. Please help !

  33. Sandra says

    Hey guys,

    Thanks for the great blog. I just found it and I am definitely saving this one in my favorites! Keep up the good work.

    Here’s my question:

    When I try to access the WP Super Cache Settings I get the following message:

    Permalink Structure Error

    A custom url or permalink structure is required for this plugin to work correctly. Please go to the Permalinks Options Page to configure your permalinks.

    I used these 2 methods to access the Settings:

    1. Plugins -> WP Super Cache -> Settings
    2. Settings -> WP Super Cache

    But I still get the error message.

    How can I access the Settings to install the plugin?

    Your help would be greatly appreciated,
    Sandra

  34. george says

    hi ,

    i tried to use w3 total cache in my website as in all websites it was suggested as the best , but when i put in my site http://www.foodintolerance.gr everything went wrong!!!! i had a white blank screen everywhere site and admin panel , lost my mind until my provider had to make some changes to the .htaccess. i would recommend really big attention . will i have the same problems with the super cache for beginners??
    thank you

  35. Romeo Rjas says

    Can I use WP super cache for wp blog that host on VPS? My friend said that WP super cache can cause some problem when it’s installed in wp site on VPS hosted. Thank you

  36. Tomé Mendes says

    Hi there,

    I used W3 Total Cache in the past, but for some reason I started having problems with it. Maybe the reason was a miss-configuration of the Plugin.

    Anyway, I decided to allocate all the images and files of my website in a subdomain like files.domain.tld

    So now I just want to know something. After applying this steps to my website it will create a cache of the main content of my domain. Posts, Categories, etc…

    What about the files in the subdomain, how can I reduce load time of them? Should I apply CloudFlare only on the subdomain or whole website?

    The website is: http://www.ridfick.com (if possible take a look of what can be done)

    Thanks

    • Editorial Staff says

      The plugin will create a cache of your page content. However, browser caching won’t be setup properly because you have media files in a subdomain.

      We don’t use cloudflare, so baring that in mind it would make sense to apply it to the whole site.

      Admin

  37. Qasim says

    Hi,

    Thank you so much for this great tutorial, I am just confused on WP super cache CDN settings. Do you need a CDN network like MaxCDN to be used with WP super cache or WP CDN works alone, where you will get the CNAMEs URLs. Also do you recommend using the plugin with cloudflare.

    • Editorial Staff says

      The whole purpose of having CDNs is to utilize third-party cloud servers to reduce the load on your main server. Simply creating cname records on your main server won’t do much good. We don’t use Cloudflare, but you can if you like.

      Admin

  38. Abdullah Salisu says

    I don’t av any cache plugin installed on my blog. that explains why my blog load’s slow.
    Now i know. WP Super Cache is gonne be my next plugin to install on my blog…

    Thanks and kudos to the ceo.

  39. Robert Anderson says

    Hi Guys thanks for the plugin but its way out of my league to install. It does show me just how much I have to learn . I keep all your emails so I wll have a go at this once I gain a bit more know-how. Keep up the great work lads.
    Robert

  40. Suresh Khanal says

    Hi Geremy,

    I did everything except CDN, but whenever I enable WP Super Cache, the post content is not displayed. It displays only the title and comments. If I disable caching everything is fine again. I’m troubled with this problem and could not find any solution yet.

  41. Jeremy Myers says

    I love WP Super Cache. I use pretty much the same settings you do to get my blog to load in less than 2 seconds. Still working on getting it down to less than 1 second, but that requires further tweaks…

  42. Edward Black says

    Maybe you can describe in a few sentences, what the difference between WP Super Cache and W3 Total Cache is?

    I use W3 Total Cache since my first WP-Project and it works ok. I started with only the basic settings and later I installed server modules like memcache… but a thing that never worked for me is the minification of css. It breaks every theme I ever used.

    Edward

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.