WordPress caching is the fastest way to improve website performance. Caching WordPress reduces server load by reducing the number of requests per page. For every single user that visits your site, data is retrieved from MySQL, processed with PHP and then displayed as HTML. This is a draining process if several hundred users at on your site at once. Caching saves the webpage into files which it shows visitors instead, not requiring MySQL or PHP which reduces load time significantly.
There are quite a few caching plugins for WordPress that I had to choose from. Therefore I decided to do a comparison on this site as a test. Results may vary depending on your own site, what themes and plugins you may have as well.
WordPress Caching Plugins
Based on recommendations, popularity and reviews, I had a look at:
- Falcon Engine from Wordfence
- WP Rocket
- W3 Total Cache
- Hyper Cache
- Quick Cache
- CloudFlare Rocket Loader
How I Tested
I thought I would test based on two factors, number of website requests and response time.
I decided to use Pingdom's Website Speed Test as the main testing tool because it gave results quickly and there wasn't much fussing around.
A total of 8 tests were taken for each plugin and the best 5 were selected to avoid many outliers.
Other reputable testing sites include:
Results (Requests / Response in seconds)
Plugin | Average | Best | Median | Worse |
---|---|---|---|---|
CloudFlare | 54 / 2.34 | 54 / 1.23 | 56 / 2.96 | 55 / 3.07 |
Falcon | 55 / 3.58 | 56 / 1.35 | 55 / 3.92 | 55 / 4.83 |
WP Rocket | 34 / 2.63 | 32 / 2.25 | 35 / 2.53 | 35 / 3.90 |
W3 Total Cache | 52 / 3.44 | 50 / 2.67 | 53 / 3.65 | 52 / 4.03 |
Hyper Cache | 54 / 3.16 | 56 / 2.22 | 54 / 3.16 | 52 / 4.24 |
Quick Cache | 55 / 3.10 | 56 / 2.11 | 56 / 3.23 | 53 / 4.07 |
Conclusion
It's quite clear that using CloudFlare reduces response times significantly due to their built-in CDN. WP Rocket on the other hand is able to reduce requests tremendously whereas other plugins all hovered around the 55 mark. With those results, I would choose to use WP Rocket as my caching plugin with CloudFlare running in the background.