For wordpress blog users there are many caching plugins like WP Super Cache, W3 Total Cache, Hyper Cache etc. This tutorial will provide WP Super Cache best settings for optimizing your wordpress blog.
The importance of caching in blog optimization has been discussed in earlier articles.
WP Super Cache best settings
- Goto Plugins page and install WP Super Cache
- Activate the plugin.
- After activation you will receive message displaying “WP Super Cache is disabled. Please go to the plugin admin page to enable caching.”
- Click on the link displayed in red color.
After moving to admin page you will see tab-wise settings. Here WP Super Cache best settings actually starts. First goto to “Easy tab”
- Check the “Caching On” option
- Click update Status button.
In this Tab check the following options.
- Cache hits to this website for quick access.
- Use mod_rewrite to serve cache files.
- Compress pages so that they are served more quickly to users.
- Don’t cache pages for known users.
- Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated.
- Mobile device Support
- Extra Homepage checks
Now click the “Update Status” button, you will receive a message saying.
“Rewrite rules must be updated
The rewrite rules required by this plugin have changed or are missing.”
Now you need to click the “Update Mod_rewrite rules” button. Now your first level of WP Super Cache best settings is over. Scroll down for more advanced settings.
Expiry Time & Garbage Collection
- Set Cache Timeout to “3600 seconds.”
- Set Scheduler to “Timer” and “3600 seconds.”
This is all for advanced part of settings and leave the rest as it is.
- Click “Delete Expired” button
- Click “Delete Cache” button
This is a very important settings as through this, whenever a user visits your blog, he/she would be served with cached pages providing faster response to user.
- Set “Refresh preloaded cache files every” to 10080 minutes.
- Select “all” in “Preload…. posts”
- Check “Preload Mode”
- Don’t check “Preload tags, categories and other taxonomies” and leave as it is.
- Don’t check “Send me status emails when files are refreshed” and leave as it is.
- Click the “Update Settings” button
- Now Click the “Preload Cache Now” button.
This part of settings is for setting up the WP Super Cache plugin to support other regular plugins that enable mobile support for your blog using “WPTouch” plugin. If you use any of the plugin listed in this section set the option to “Enabled”.
Test your Configuration
- For this move to “Easy” tab and then click the “Test Cache” button. Now if you received message “The timestamps on both pages match!,” it means that your caching is working properly.
- Further open your blog on some browser and then right click your mouse button and “View page source.” scroll down to the bottom of page source and check if you are getting text comment like the following screenshot.
If the “test your configuration” part discussed above goes wrong in your case then you can test with other settings.
- In the “Advanced” tab check “Use PHP to serve cache files” or “Legacy page caching”
- Next you can uncheck the option “Compress pages so they’re served more quickly to visitors.”
I hope after doing all these you will get a smoothly and fast loading wordpress blog. You can check your “Page Score” at Google PageSpeed Insights.
For information regarding Page Score, do read the following.