Today we will focus on learning how to use WP Super Cache on WordPress. There are two great plugins that can be used for the purpose of adding caching: WP Super Cache and W3 Total Cache. Depending on your needs, one of them must be enabled on your blog, but today we will only discuss using WP Super Cache on a website WordPress.
- 1 What is WP Super Cache
- 2 Feature WP Super Cache:
- 3 Install WP Super Cache plugin
- 4 Configure WP Super Cache
What is WP Super Cache
What WP Super Cache does is take the dynamic PHP WordPress files of your blog and convert them into static HTML files. The benefit of this file is that it is less severe than the actual PHP file and speeds up the page load which ultimately make the visitors happy as no one wants to wait. With search engine uptake you have the ability to index your pages and show them to potential visitors.
Most of the above is true but there is an arrest, a static HTML file that will be distributed to most users except for those who have logged into your site or have left a comment on your blog. This is partly because when users log in or have posted a comment on your blog they are displayed with their name rather than the static file so they are handled by the legacy caching tool.
Feature WP Super Cache:
- Allows you to use the Content Distribution Network (CDN) along with the system caching.
- The site is compressed to reduce load time.
- Caching is also available for PHP pages
- Caching is also available for mobile and tablet devices.
- How to use WP Super Cache on a WordPress website
- To use WP Super Cache on a WordPress website, you first need to install the plugin. Take a look at how to do it, go to your admin account and from the Plugin> Add New, search for WP Super Cache then install and activate the plugin.
Install WP Super Cache plugin
Once the plugin is installed, the plugin will display the following message:
WP Super Cache is off. Please visit the plugin admin page to enable caching.
You need to enable the WP Super Cache plugin before you can use it, just click on the “admin page” and you will be redirected to the WP Super Cache installation.
Configure WP Super Cache
Enable WP Super Cache plugin
Check the box next to Caching On (Recommended) to activate WP Super Cache and click the Update Status button to save your changes.
Now check to see if the plugin works by clicking the Check cache button in the Cache Checker. If everything goes right you will see something like this:
Successful Cache Result Verification WP Super Cache Plugin
If for some reason you want to delete the cached pages, just click the Clear cache button and you want to do so.
Clear cache button
Under Advanced Options, you will have the following 4 settings:
- Cache location
Let’s talk about each one of them and see how you use the Wp Super Cache settings with its maximum potential.
Check the Cache box to access this site for quick access (Recommended) to enable caching.
Advanced Configure Super Cache
Next, there are three options available for caching and by default, PHP will be used to serve the cache files but we do not want to involve PHP as this will increase the page load time. . So, click the radio button next to “Use mod_rewrite to serve the cache file”, which is the fastest method to deliver HTML files that are not related to PHP engines.
In Miscellaneous allows the compression of page options as default this option is disabled. This option reduces the total page load time.
Install miscellaneous super mash cache
Enable 304 immutable caching This browser tells you whether a page has been modified since the last request. Enable Do not cache pages for known users as this administrator allows And users can view actual pages without any caching.
Enable cache Not with GET parameters because these requests are processed through the PHP tools and then allow the option to rebuild the cache.
Turn on mobile device support, which obviously makes Wp Super Cache compatible with mobile devices. Next, allow the removal of all cache files when an optional post or page is published. If you have another long cache expiration date leave this option as it is.
Installed advanced in using Wp Super Cache
Enables additional homepage checks to stop caching on the homepage to check that it is working properly. Also, only activate the current page refresh when comments are made optionally to re-display PHP pages for users when they comment.
Good news you do not even need to touch this option, leave it that way.
Once you have completed all of the settings above, just click the Update status button. After you refresh the page, you will see some rewrite rules below the advanced settings:
mod rewrites rules using the WP Super Cache plugin
Just click on Update Mod_rewrite Rules and upon completion, you will see something like this:
The Mod override rule is updated in the use of the Wp metadata buffer
Yes, I guess you have learned all about advanced settings and can teach others how to use the WP Super Cache plugin effectively. But there are still some other settings you need to know before leaving.
Expiration Time & Garbage Collection
Here you set the time and frequency of cached data on your server. By default, the cache timeout is set to 1800 seconds, but if you have a large number of posts on your site, set a lower time.
The expiration time and garbage collection in Super Wp cache settings
Next is the accepted file name and the rejected URI, where you can disable the following page types to cache according to your needs:
- Single entry
- Search page
- Author page
- Previous page
Well, you do not have to mess with this setup to move right.
Enable CDN support
To enable CDN support with the WP Super Cache plugin, you need to check Enable CDN support (Make sure you have selected the CDN tab next to the advanced settings).
Enable CDN support for WP super cache WordPress plugin
Next, enter your local URL or external URL, such as http://cdn.test.adityafarrad.com/wp-includes/js/prototype.js, and click Save Changes.
The next tab is Content Contiguous to CDN. Here you can recreate cached statistics as they are not automatically generated. In addition, you can delete the pages and the cache has expired.
content tab in super wp-cache settings
Preloading option stores all pages and posts on your site and then serve static versions to all visitors. This option is set to 0 by default, which is actually disabled. The minimum time required is 30 minutes and you must also enable all preloading options to really benefit from this plugin.
Update Preload cache settings
Next, click Update Settings and then refresh the page.
Click the Preload cache button now. You will see a dramatic improvement in your page load speed when the cache starts building your site.
We hope this article is useful to you and you have learned how to use the WP Super Cache plugin on a WordPress blog. Once you’ve deployed the above settings, your website’s load speed will increase sharply. If you still have any queries about this post, please ask them in the comments section.