Cache Enabler -VS- Redis Object Cache speed comparison

Testing | Comparing: Cloudflare w/ Railgun + Redis Caching | WP 4.4 | PHP 7.0.1 | Zend Opcache w/ Memcached
December 24, 2015
VersionPress – this a WOW plugin!
April 29, 2016
Show all

Cache Enabler -VS- Redis Object Cache speed comparison

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.

PLUGINS INSTALLED:
Cache Enabler system:
– Cache Enabler Plugin
– CornerStone – X-theme required plugin

Redis System:
– CornerStone
– Nginx Helper plugin
– Redis Object Cache plugin

CACHE ENABLER CONFIGURATIONS AND TESTS

Cache Enabler Configuration for test 1:

Screenshot_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

Screenshot_2

Webpagetest.org test results: LINK

Screenshot_3

Redis Caching test using the same page speed testing tools: Pingdom and webpagetest.org Pingdom LINK

Screenshot_4

webpagetest.org results: LINK

Screenshot_1

Both tests are extremely close in speeds. 30ms apart! However, you can configure Cache Enabler to Minify the HTML and Javascript cached files through the plugin configuration so let’s configure Cache Enabler and set this option to minify HTML and JS cached files.

Screenshot_4

Test #2 for Cache Enabler:

Screenshot_5

Webpagetest.org results:

Screenshot_6

To be as fair as possible, we added the plugin Autoptimize: https://wordpress.org/plugins/autoptimize/  to optimize out JS, CSS and HTML content.

Screenshot_5

Screenshot_6

Screenshot_7

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.

Screenshot_7

Screenshot_8

Screenshot_9

 

 

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.

Screenshot_10

Screenshot_11

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:

Screenshot_9

Screenshot_2

 

Screenshot_3

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!

 

final-test

 

 

Leave a Reply