WP Super Cache is a popular and featured cache plugin, officially developed by WordPress core programmers and Automattic team. The plugin can be used everywhere such as on shared hosting plans, VPS and dedicated servers.
It powers WordPress with a very fast caching engine that produces static HTML files to better your loading time and reduce resource usage.
When HTML files are generated, your webserver starts to serve those files instead of processing PHP queries. Hence, less resources are used and website loads faster than before.
These static files are served to majority of your visitors, but when a user’s details are shown in the comment form, as they leave a comment then in that case requests are handled by the legacy caching engine.
Generated static HTML files are served to 99% visitors:
- Users who are not logged into your website.
- Users who have not viewed a password protected post
- Users who have not yet left a comment on your website
How To Configure WP Super Cache Plugin?
Start by installing WP Super Cache plugin in WordPress. Once plugin is activated visit your admin area dashboard Settings -> WP Super Cache admin page. Turn on caching and click ‘Update Status’ button.
Advanced Caching Options:
‘Advanced’ tab allows you to configure advanced caching options. For better caching of your WordPress website, you should enable the following options:
- Use Mod_rewrite
- Cache hits to this website for quick access.
- Compress pages so they’re served more quickly to visitors.
- Cache rebuild. Serve a supercache file to anonymous users while a new file is being generated.
- Mobile device support.
If in-case you receive an error under advanced options for mod_rewrite or .htaccess rule, visit Mod rewrites rule section and click ‘Update mod_Rewrite rules’ button.
If you don’t know much about other options then leave settings either to default or select ‘Recommended’ options.
Now again visit ‘Easy’ tab and click ‘Test Cache’ button to test your cached website.
Another button on the same page with title ‘Delete Cache’ allows you to delete all generated cache of your website. This can be used after customizing your theme options, widgets, settings etc or after publishing any new content, if it is not showing up on homepage.