Improve Wordpress Load Speed with WP Super Cache

Wordpress is the most popular CMS in the world, powering over 30% of all websites. It owes its popularity to easy of use and a huge number of plugins. The plugins make it possible to turn Wordpress into anything from personal blog a to e-shop. Like others of its kind, Wordpress generates the pages dynamically. In other words, everytime it is accessed, it loads data from database and uses PHP to create a page it serves the visitor. As a result, Wordpress load speed is slower a it requires more resources. That is important point too keep in mind, since over 40% of users leave a page if does not load within 3 seconds.

Caching

This is where caching comes into picture. It combines the speed of static sites with the robustness of Wordpress. Instead of generating page on every load, Wordpress saves the resulting page. Other visitors just see this pregenerated static page. This significantly improves Wordpress load speed and saves server resources. And when you post a new article or a comment, the cache is automatically invalidated. So, you don’t have to be afraid, that visitor will see an outdated version.

Installing WP Super Cache

There are several caching plugins for Wordpress. WP Super Cache is the most popular one. So, that is the one we will choose. The installation is straightforward, just login into the Wordpress dashboard and go to Plugins → Add new.

Settings

To get the most out of WP Super Cache, it is important to fine tune it to your website’s needs. You can find the options in Settings → WP Super Cache. The basic view looks as following:

Basic WP Super Cache settings

On top, there is a list of tabs: Easy, Advanced, CDN, Contents, Preload, Plugins, Debug. Only the first three are interesting for us. First of all, check the Caching on checkbox to turn on the plugin on the Easy tab. When done, you can run the Cache Tester and see if everything works fine.

Advanced

This is where all the important options are. As you can see on the following screenshot, there is quite a few of them. Let’s take a look at what they mean:

Advanced WP Super Cache settingsAdvanced WP Super Cache settings

CDN

CDN is a technology for faster delivery of static content. It speeds up page loads by using caching servers in multiple locations and thus shortening the distance between the visitor and the web server. If you are using a CDN, you can set up WP Super Cache to correctly work with it. Enter your website’s domain into Site URL. Then, put the CDN URL to Off-site URL field. If you use multiple ones, you can enter them to Additional URLs. As for the include directories and exclude directories , you don’t need to touch them.

Conclusion

This wraps up the settings. Now, you should have WP Super Cache tuned up for maximum performance and reliability. You can check the load times using https://performance.sucuri.net. For other configuration tips, check https://radeksprta.eu/categories/configuration/.