Speed is a very important part of all sites. Users hate slow pages, search engines penalize sites slower and the owners of the sites are required to pay more for a hosting that can cope with more visits. Fortunately, there are several solutions that allow caching the content and join business with pleasure: pages faster and less consumption of server resources. In WordPress, the easiest way to create cache is using a plugin. There are several, but one of the most popular and easy to use is the WP Super Cache plugin. In this article explaining how to install and configure the WP Super Cache plugin.
Why Should I Use a Cache Plugin?
WordPress is a dynamic system. Whenever someone tries to load a page (this, for example) WordPress have to join the various theme files, load plugins, load the posts and comments from the database, etc. This process takes only a few milliseconds (under optimum accommodation) and is usually not a problem when the site has few visitors, but when hosting resources are few and when the site has many visitors, can be a big problem.
There is a solution to load page quickly. When a page loads first time, WordPress creates a static file and next time this page loads quickly. WordPress sends the static file instead of having to generate the page.
Imagine that your site has peaked traffic because of a publication on Facebook. The first user will see a “fresh” page generated by WordPress while the remaining users will see a static page that is already in cache. In other words, WordPress just has to generate the page once.
Advantages of using a Cache plugin:
- Less loads on the server: Faster and less need to pay more for a larger hosting.
- Site faster: As parts of the pages are already in cache, WordPress does not have to waste time to generate new pages. It’s good for the user and the search engines.
- Fewer problems with traffic: If no cache a website can only have 20 users online, with cache will manage to get 100 or 200.
Disadvantages of using a Cache plugin:
- Less updated pages: How to keep pages in a static file, it is normal when you make a change in a post or approve a comment, the user does not immediately see the changes.
- Plugin Configuration: You need to spend some time to configure the plugin and test the site to determine if everything goes easily.
Now that you know how it all works, let’s move the configuration of the WP Super Cache.
How to Configure WP Super Cache Plugin:
The WP Super Cache Configuration is very easy. It completes within 10 minutes.
1. Install WP Super Cache Plugin and Activate:
First have to install the plugin. You can do this through the WordPress administration panel, in Plugins> Add New, looking for WP Super Cache. If you choose to install the plugin, it is available for download from the WordPress plugin repository. After successful installation, Activate the plugin.
Then you will get the Line at the top of the dashboard screen. Now click on “Plugin admin page” to enable caching. After this, go for basic configuration settings.
2. WP Super Cache: Basic Configuration:
We are going to “Settings > WP Super Cache > Easy” and we will all as shown in the screenshot below. We set it in Caching On to activate the plugin and find out if there is no problem in principle, giving Cache Test to find out if everything is OK.
3. Advanced Settings Tab:
Click on ”Advanced “, choose the following options and keep clicking “button Update Status”.
These are sufficient basic settings for most blogs. This Advanced settings tab have three major options. They are
Check the basic options given in the images.
Once you’ve checked these options, press the Update Status button to save the changes. You should immediately see a rather long yellow box containing a lot of text.
Do not worry these are settings code for your server .htaccess file. Just scroll down, then click on “Update Mod_Rewrite Rules >>” option.
The above yellow box code becomes Green box. It means, the code updated in your server’s .htaccess file.
4. Preload settings Tab:
Finally, create the cache for the Web goes faster. That is why, in this panel, create a cache request and appoint every few minutes to make one.
In shared hosting account users, you must setup this value once a day for every 1440 minutes. I added 1440 minutes to avoid overloading the hosting, but for example in sociologists put it at 720 minutes, because it is updated more. According to the time you upgrade put the number of minutes since it determines how recreates another cache.
Click on “Update Settings”. If you’d like the coaching process to start immediately, click on the “Preload Cache Now” button after you’ve updated the aforementioned settings.
5. Contents Setting Tab:
This contents tab shows the number of cached pages in your WordPress site. The WordPress ultimately generates HTML pages. Now go for “Contents” settings then click on “Regenerate Cache Stats” button.
And so you will find the list of cached pages, and clink on “Delete Expired>>” and “Delete Cache” buttons. Finish.
Look into the Plugin working Status:
Time to check the WP Super cache plugin working status.
- Go to Easy settings tab in WP super cache
- Click on the “Test Cache” button
- If you configure the plugin correctly, you will see something similar (see the above Basic configuration image).
With the settings shown in this article, your blog will be able to receive at least twice as many visits without creating problems of slowness or excessive consumption of resources. To Clear WordPress Super Cache, just click on the option “Delete Cache”, which is available on the top menu bar of the WordPress dashboard.
For inquiries about any option, read the description of the options that the WP Super Cache shown above. You can also leave a comment on this post or use the official forums help of WordPress.