In this post, I am going to explain how to install and setup WP Super Cache Plugin in your WordPress site with proper settings. WP Super Cache Plugin is a very fast caching engine for WordPress that produces static html files to your visitors; which results in less load on the server and more load on user engagement.
Before we begin with initial setup just read why most of use choose this plugin.
Why to Choose WP Super Cache?
WordPress is a nice platform for blogging but in the same time it is a dynamic platform too. That is why if you do not utilize any cache plugin to your site; sure you come to insufficient hardware resource issues. A cache plugin minimizes the repeating numbers of requests which made again and again and such cache plugin make these requests into one plain static request with the help of a cached file.
I and many other web developers prefer this plugin only over any other just because of its great feature that it works nicely on low hardware ends to; especially useful to those who are in shared server environment. If your page is hit by Reddit, StumbleUpon or slashdot like sites which crash down the basic servers easily, then only this plugin stays for a long time.
Installing WP Super Cache
Installation of WP Super Cache to WordPress is very simple. Just log on to you dashboard and follow navigate to Plugins » Add New. In search box, search for “WP Super Cache” and click on Install button on appropriate plugin.
After the installation completes then click on Activate link.
Setting up WP Super Cache
Now navigate to Settings » WP Super Cache.
Here you will see 7 Tabs (Easy, Advance, CDN, Content, Preload, Plugins, and Debug). For moderate users here we are focusing on just Easy and Advance tab only. Rest others are for professional or specific use, so you can leave them as it is.
Just navigate to following tabs and select the shown options and save settings.
- Click on Caching On (Recommended)
- Cache hits to this website for quick access. (Recommended)
- Use mod_rewrite to serve cache files. (Recommended)
- Compress pages so they’re served more quickly to visitors. (Recommended)
- Don’t cache pages for known users. (Recommended)
- Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated. (Recommended)
- Extra homepage checks. (Very occasionally stops homepage caching) (Recommended)
Now click on Update Status.
On the same tab, you will see Expiry Time and Garbage Collection section. Just look at that cache timeout is 3600 Seconds, Scheduler to Clock at 00:00 HH:MM and Interval are Once Daily. Now click on Change Expiration button below.
Now you will be notified to update your Mod_Rewrite rules so this option is available just between above both the settings. Click on Update Mod_Rewrite rule, if it turns to green that means you are right up to here.
Now you have successfully installed and setup wp super cache.
Begin a Test
To test whether you cache settings are working for you or not navigate to Easy Tab and click on Test Cache button.
If you see everything is OK and timestamps on both pages match then you have successfully configured wp super cache plugin.
How to Delete Cache or Purge Cache
To delete existing cache then under the Easy Tab, you will see Delete Cached Pages section and below that Delete Cache button just press it.
Now you will be navigated to Contents Tab automatically. There you need to click on Delete Expired and Delete Cache. If you want to see the list of cached files then just above these two buttons you have option to see them before clearing your cached files.
This way you can optimize overall performance of your WordPress site using WP Super Cache and create a better user engagement between switching to your different web pages. If you face any issue while setting up above things please comment below.