Today’s internet is all about speed and performance. There are a TON of plugin options for WordPress that will help with the loading time of your websites pages. Awhile ago, we ran a test the included 4 of the major players in the WordPress caching arena; Cache Enabler, WP Super Cache, WP Rocket and WP Total Cache. In our testing, Cache Enabler was the winner by a very close WP Rocket. However, Cache Enabler is FREE where WP Rocket is paid. So I would rather choose a FREE plugin that can do just as good, if not better, then a paid plugin can do.
We wanted to run a test on how well Cache Enabler stacked up to Redis Object Caching. Redis is a persistent, in-memory data structure object caching system used to cache database queries and the front-end of your blog/site and stores the information in RAM similar to what Varnish does. Cache Enabler is strictly a front-end caching plugin.
We first setup both environments on a separate VPS from Vultr in NY with 768MB ram and 1 CPU core. Each VPS was installed with PHP7, nginx v1.9.10, php-fpm, Memcached, Opcache and MariaDB 10x. We installed the X Theme with the demo data “Restaurant demo” for each install and only the required plugins for each system.
Cache Enabler system:
– Cache Enabler Plugin
– CornerStone – X-theme required plugin
– Nginx Helper plugin
– Redis Object Cache plugin
CACHE ENABLER CONFIGURATIONS AND TESTS
Cache Enabler Configuration for test 1:
For our first test, we ran a speed test using Pingdom Page Speed testing tool. Each test was submitted from the New York location 3 times to generate the cache for the page. LINK
Webpagetest.org test results: LINK
Redis Caching test using the same page speed testing tools: Pingdom and webpagetest.org Pingdom LINK
webpagetest.org results: LINK
Test #2 for Cache Enabler:
To be as fair as possible, we added the plugin Autoptimize: https://wordpress.org/plugins/autoptimize/ to optimize out JS, CSS and HTML content.
Minifying the cached HTML and JS files makes a pretty good difference! However, the fun doesn’t stop there with this plugin! Let’s add Optimus HQ to the mix to convert normal images into WebP format for optimization. We’ll use Ewww image optimizer on the Redis Caching VPS to optimize the images. Optimus HQ is the premium part of this plugin which you can find here: https://optimus.io/en/
So now, we’ll add the new configuration to the Cache Enabler Plugin to support Optimus and and convert our images to WebP format and optimize all our images with optimus for the Cache Enabler VPS and Ewww image optimizer for the Redis VPS.
Lets run the test for Cache Enabler now that we have added Optimus plugin and turned our images into WebP files for faster loading times and image optimization.
Now that we’ve tested The Cache Enabler plugin with Minifying the HTML/JS cached files and added the Optimus plugin to convert our images to WebP format for image optimization, let’s run the Redis Caching VPS. I’ve added the Ewww image optimizer to optimize all images to WebP format:
Note: I had to use a different location for the webpagetest.org test due to the extensive line of other tests before me in the NY location at the time of this post.
To recap, I tested each site using either Cache Enabler or Redis Object Caching and submitted each test to Pingdom and webpagetest.org 3 times to cache the page being tested. I Changed the configuration for Cache Enabler and enabled the html and JS cache minification and added the Optimus plugin to optimize the images but also added the ewww image optimizer plugin to the Redis VPS to optimize the images. I’n conclusion, I am a little shocked at how well Cache Enabler stood up to Redis Cache. The team/developers from KeyCDN have done an amazing job with Cache Enabler and I have to hand it to them for making an outstanding product that’s free for everyone!