It is important to have a cache mechanism for your WordPress website especially if you are on shared hosting; and WP Super Cache is one of the best cache plugins which is quite easy to configure and can be used for better site performance.
Unlike the W3 Total Cache, which requires advance configuration, this plugin generates static pages of your site that reduces the page serving time and also performs a fewer number of PHP calls. The cached pages are stored in the memory and when a user makes a request to that page, it get delivered from the cache. Through this the php execution and the database requests are skipped.
The WP Super Cache further enables you to optimize your database by generating static HTML files, which are used to serve 90% of requests of the users who are not logged in, or have not left a comment on your blog and even for those who have not viewed a password protected post. This way, when any page is requested from your blog, static pages will be served instead of processing all of the PHP scripts, saving server execution time and reducing the overall load time.
How to install and configure the WP Super Cache Plugin
As we mentioned above, WP Super Cache Plugin is quite simple to configure and use for better site performance. You just need to follow the below screenshots for configuration and it will work fine. There is no other advance setup required. So, lets begin and install the plugin from WordPress directory.
There are three different ways to install a WordPress plugin (you can read here). However, we recommend you to follow the steps below.
- Go to the wp-admin area, open the Plugins -> Add new section. Then, press on the Upload Plugin
- Next, you need to use the search bar to look for WP Super Cache
- Install the plugin and activate it.
To set the plugin you have to go to wp-admin area and open the plugin settings pane, it’s located in Setting->WP Super Cache. Once, the setting page appears, you will find different page to configure the setting.
We tested this plugin on our website and recommend you the following configuration:
- Easy Options
If you’re not comfortable with editing PHP files then use simple mode. It’s easy to set up and very fast.
- Caching On (Recommended)
2. Advanced Options
You need to enable the following options by following below the steps.
- Cache hits to this website for quick access. (Recommended)
- Use PHP to serve cache files.
- Compress pages so they’re served more quickly to visitors. (Recommended)
- 304 Not Modified browser caching. Indicate when a page has not been modified since last requested. (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)
- Mobile device support. (External plugin or theme required. See the FAQ for further details.)
- Clear all cache files when a post or page is published or updated.
- Only refresh current page when comments made.
- List the newest cached pages on this page.
Expiry Time & Garbage Collection:
- Cache Timeout: 0 seconds
- Clock: 00:00 HH:MM
- Interval: Once Daily
3. Preload Options
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. You need to set the set preload like this.
- Refresh preloaded cache files every 0 minutes (0 to disable, minimum 30 minutes.)
- Preload all posts.
We believe this article has helped you setup WP Super Cache on your WordPress blog. Let us know your experience in the comments below.
If you want to use an alternate cache plugin W3 Total Cache, then read our ultimate guide to W3 Total Cache settings for 2018.
SEE ALSO: How to Install a WordPress Theme