Out of the box performance of WordPress is quite fast with the latest PHP 7 enabled, however once you start to add increased amounts of functionality (such as eCommerce platforms) this performance can slowly degrade. If you have a basic website where users don’t login or make purchases, you can simply increase the performance through the use of a page cache such as W3 Total Cache. This will significantly boost the performance of your site. However, if you have users logging on or running any form of shopping cart, it means these users will no longer see any benefit to the page cache (as it needs to be specifically produced for them).

To increase the performance and the amount of users your site can serve, you can enable object caching. This is at a slightly higher level compared to full page caching, but benefits all users of the site (including administrators). As we already use and recommend W3 Total Cache, this article will guide you through the process of configuring it to use Redis as the object cache.

Note: The use of Redis or any other key memory store daemon requires a dedicated or virtual private server to operate.


  1. Login as the root user to your server.
  2. If you’re running a CentOS 7 operating system, you can install Redis with the following:
    (Substitute your websites current PHP version into the last command):

    yum install redis
    systemctl enable redis
    systemctl start redis
    /opt/plesk/php/7.0/bin/pecl install redis
  3. Login to your WordPress site, then go to to Performance -> General Settings.
  4. Then, scroll down to Object Cache to enable and select Redis for the Object Cache Method:
    wordpress - w3 total cache - object cache
  5. After saving the settings, test that the site works as expected. 

Note: Unless the site is configured as a multi-server configuration, the Page Cache is still more efficient when set to Disk: Enhanced. This is because the enhanced mode stores the pages as static files, and will bypass WordPress (and any PHP code) completely.

Conetix offers configuration of Redis on our Managed WordPress Server plan at no additional cost. If you’re looking at boosting your WordPress site performance, please don’t hesitate to contact us to discuss your options further.

Was this article helpful?

Related Articles