How to install and configure the WP Super Cache plugin?
You certainly know that search engines take into consideration the loading speed of the websites to define the position in the search engine results of the latter.
In a previous tutorial, we showed you how to install and Configure the W3 Total Cache plugin. This time around, we'll show you how to install and configure the WP Super Cache plugin, created by Automatic, to make your blogging even faster.
Check out this article to discover what you need to know about caching WordPress
Understand that these two plugins (W3 Total Cache & WP Super Cache) are excellent and can be used each in turn, the choice is yours. For more details discover our article on W3 Total Cache vs WP Super Cache: which one to choose?
The first thing to do is to install and activate the WP Super Cache plugin available on WordPress.org, either from the search interface on the dashboard or by uploading the zip file.
It’s a WordPress Plugin, therefore it installs like any other plugin. You can install it by FTP ou directly from your dashboard.
Then let's configure it.
WP Super Cache configuration: simplified configurations
We will start by enabling the cache. To do this, access the interface " Settings >> WP Super Cache "On the" Easy ", Make sure that the option" Caching Enabled "Is checked.
Once it's done, you can click on the " Test cache ", To see if everything is working normally. The plugin will access your blog twice and compare the display time of the two pages.
If the results are the same, it simply means that the cache system is active on your blog.
WP Super Cache configuration: advanced configurations
WP Super Cache is quite a powerful plugin, and it provides its users with several advanced options. These options can improve the performance of your blog. To configure WP Super cache, navigate to the location “ Settings >> WP Super Cache ", And click on the" Advanced ».
Activating the cache
We will start by ticking the box " Caching connections to this website for quick access ". Below this option, you will find 3 cache options, which you can activate according to your needs. You must consider your server configuration to enable some of these options.
We also invite you to discover How to clean the cache of your WordPress blog
By default, when loading pages, the server must each time make requests to display the page. On shared hosting, this is often heavy with consequences, because several other blogs make requests, which can considerably slow down the server or simply render it out of use (in extreme cases).
La cached PHP is therefore not very suitable, because it consumes a lot of server resources.
That is why we recommend that you activate the option " Inherited Page Caching ", Make sure that the option" mod_rewrite »Is active on your server.
Learn as well How to use the non-persistent cache of WordPress
Once it's done, save your changes.
You will then need to configure the garbage collector and the expiration date of the cached files. Thus, each cache created will have a validity that you will define in the " Cache Timeout ».
How to configure a CDN with WP Super Cache
Many websites serve static files for each page. These files can be either JavaScript, or images, or style files, etc.
These files that are not regularly updated can be hosted by a CDN. We wrote a Tutorial on CloudFlare, if you want to know what a CDN is and especially how to use it.
To use a CDN, go to the CDN tab on WP Super Cache, and click " Enable CDN Support And enter the offline URL, which will be used to retrieve your files.
For example: http://cdn.monsiteweb.com/
In addition, you will be able to add the CNAMES that you created for your extraction zone (for files hosted on the CDN). Finally, check the box " Skip https URLs to avoid "mixed content" errors », To avoid having certain errors.
How to provide a static website with WP Super Cache
The tab « preload », Allows you to create cache files for your posts and pages. For this section you will need to activate the option " Use PHP mode to serve cache files ».
You are probably wondering why you will need to do this?
To help you, you can:
- Keeping (or preserve) Server resources
- To increase the loading speed of the website
Do not worry, WordPress will continue to work properly.
By default, pre-loaded are not refreshed. Set the value to 30 minutes minimum. Pre-loading your blog files can take a lot of time and consume a lot of resources.
If you leave the value 0, then your files will only be refreshed manually.
Discover also some premium WordPress plugins
You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.
We offer you here some premium WordPress plugins that will help you do that.
1. CommentPress
CommentPress is a powerful WordPress Plugin compact that allows you to insert, edit and delete comments quickly and easily.
In short, to take control of your comments management system. CommentPress uses Ajax, jQuery, and PHP to insert comments, so you won't need to reload the page.
Discover our article on How to Build a Successful Business on the Internet
Ce WordPress Plugin has many options that allow you to personalize it and give it the look of your website. He proposes a captcha for fight against spam and to have more security in the forms.
Download | Demo | Web hosting
2. Directories Pro
Directories Pro is a WordPress plugin that allows you to create any type of directory, such as a local, community-run business directory, much like Yelp.com, Google+ Places, or Yahoo! Local. According to these designers, it's the richest and most versatile directory plugin you'll find on WordPress.
But that claim seems to be backed up by feedback and reviews from its users who to date have rated it 5/5. As functionalities it offers:
an unlimited number of directories, it is fully customizable, the search bar with filter options, the ability to monetize your website, the submission of ads and others on Front-end and dashboard, creating views, taking in charge of user reviews, excellent SEO, compliance with the GDPR, WPML support, the support of the notification e-mails, the free update, and more
Download | Demo | Web hosting
3. WooCommerce Bulk Price and Stock Quantity Update
Bulk WooCommerce Price and Stock Update is a WooCommerce plugin that allows owners or administrators of WooCommerce shops to update the prices of all their products or just a product category by a simple amount or percentage.
Discover also our 10 WordPress plugins to evaluate articles from your Blog
Online store owners will be able to update inventory for all of their products or just inventory for products in a specific category.
Download | Demo | Web hosting
Other recommended resources
We also invite you to consult the resources below to go further in the grip and control of your website and blog.
- How to Automatically Post to Facebook from WordPress
- How to install Slider Revolution on WordPress
- How to make money with your blog when you have low traffic
- 10 LinkedIn WordPress plugins to attract new customers
- 10 WordPress plugins to create a video gallery on a blog
Conclusion
So ! That's all we could tell you in this guide, we hope it suits you, but above all helps you make your blog much faster. Tell us about your Comments and suggestions in the dedicated section.
However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.
In the meantime, if you liked this article, then do not hesitate to share it with your friends.
...
Hello
I install super cache and I have an error:
Warning! Could not update /usr/home/spouf/www.xxxx.com/wp-config.php! WPCACHEHOME must be set in config file.
Warning! /usr/home/spouf/www.xxxx.com/wp-content/advanced-cache.php does not exist or can not be updated.
1. If it is already available please delete the file first.
2. Make /usr/home/spouf/www.2015.spouf.com/wp-content writable using the chmod command via your ftp or server software. (Chmod 777 /usr/home/spouf/www.xxxx.com/wp-content) and refresh this page. This is only a temporary measure and you will have to make it read only afterwards again. (Change 777 to 755 in the previous command)
3. Refresh this page to update /usr/home/spouf/www.xxxx.com/wp-content/advanced-cache.php
If this does not work, make sure the file /usr/home/spouf/www.2015.spouf.com/wp-content/advanced-cache.php does not exist:
1. Open /usr/home/spouf/www.xxxx.com/wp-content/plugins/wp-super-cache/advanced-cache.php$wp_cache_file in a text editor.
2. Change the text CACHEHOME to /usr/home/spouf/www.xxxx.com/wp-content/plugins/wp-super-cache/
3. Save the file and copy it to /usr/home/spouf/www.xxxx.com/wp-content/advanced-cache.php and refresh this page.
Cannot continues… fix previous problems and retry.
I do not understand at all what happens?
Could you help me?
Hi Smit,
Forget about Super Cache. I recommend WP Rocket. It is 100 times better and very easy to configure.
Very good tutorial! thank you very much
Hello Jonas,
It's a pleasure for us.
See you soon on BlogPasCher.