Nexcess Logo

Redis Object Cache: How to Enable

Knowledge Base Home

Notice anything different?

We've enhanced the appearance of our portal and we're working on updating screenshots. Things might look different, but the functionality remains the same.
October 12, 2022

Object caching can improve database query performance both on the front end of your site and in wp-admin. Redis object caching is helpful for dynamic sites such as those running a membership site or WooCommerce.

Automatic installation of Object Cache Pro

Redis object caching is enabled by default on all new sites. We automatically install the Object Cache Pro plugin to do this.

Steps for installing Object Cache Pro using the Nexcess Installer


Adding Object Cache Pro is made very easy for existing sites by using the Nexcess Installer found in the WordPress Admin Dashboard of your site. Simply navigate to:

Nexcess > Install Plugins



Select Object Cache Pro in the Performance section of the Nexcess Installer, and then click on the install Selected Plugin button:

Select Object Cache Pro in the performance section of the Nexcess Installer then click on the install Selected Plugin button.


After the Object Cache Pro plugin has been installed, the next step is to license the plugin by following the licensing process and clicking on the Click Here link:

After the Object Cache Pro plugin has been installed the next step is to license the plugin by following the licensing process and clicking on the Click Here button.


Object Cache Pro has now been installed and licensed on your site to gain Redis object caching performance. Take note of the increased speed when it comes to page loading times.

Video guidance for installing Object Cache Pro using the Nexcess Installer


The following video walks you through the related Object Cache Pro functionality along with guidance for getting started and using the included features of the plugin:



Manually installing Object Cache Pro


If Redis object caching is not present on your site, you can install, activate and license it from the Nexcess Installer. If the Object Cache Pro plugin exists on the site, it can be activated from wp-admin or using the following WP-CLI command:

wp plugin activate object-cache-pro


Also, check that the object-cache.php drop-in file exists in your site's wp-content folder.

Enabling Redis


To enable Redis from the WP-CLI, then run this command:

wp redis enable


Forcing an update of the Object Cache drop-in file


To force an update of the object cache drop-in file if using the Object Cache Pro plugin, use this WP-CLI command:

wp redis enable --force


The object cache drop-in can also be updated in wp-admin on the site from the following area in the user interface:

Settings > Object Cache

Checking the Redis status in both plugins now is done with identical commands


With the wp redis info command now being an alias of the wp redis status command in WP-CLI, the command to check on the Redis status if using Object Cache Pro is now:

wp redis status


The WP-CLI command to check on the Redis status if using Redis Object Cache is identical:

wp redis status


Build Your Online Business




Flushing the object cache


Flushing the object cache will clear out your site's Redis object cache. This is the same as clearing the page cache, but in this case, it would be just for the object cache. To be able to flush the object cache, you will need to run this WP-CLI command from terminal or Putty on your site server:

wp cache flush


If you are using the Object Cache Pro plugin, then you can use this WP-CLI command to clear the cache:

wp redis flush


To asynchronously flush the object cache if using the Object Cache Pro, use the --async argument at the end of the WP-CLI command:

wp redis flush --async


You can also flush the object cache from Settings > Object Cache in wp-admin on the site if you use Object Cache Pro:

Settings > Object Cache


The object cache was flushed.



If you are using the Redis Object Cache plugin, then you can flush the object cache in wp-admin. You will need to go to the following area in the user interface:

Settings > Redis


Settings > Redis


Object cache flushed.



It is also possible to flush the object cache (applies for both Object Cache Pro and Redis Object Cache plugins) from the admin bar on your site. Click on the Flush Object Cache section under the Nexcess logo in the admin bar. Taking this action will clear the Redis object cache from your site's server:

Nexcess Logo > Flush Object Cache



Checking that Redis working


You can check that Redis is working if using Object Cache Pro on your site in wp-admin from the following area in the user interface:

Settings > Object Cache


Settings > Object Cache



To check if Redis is working in the Redis Object Cache plugin, then from wp-admin, go to the following area in the user interface:

Settings > Redis


Settings > Redis


Checking for the current version


To check that you are using the most current version of the Object Cache Pro plugin, then from wp-admin, go to the following area in the user interface:

Setting > Object Cache > Updates


Setting > Object Cache > Updates



Turning on automatic updates for the Object Cache Pro plugin


The Object Cache Pro plugin can be automatically updated with a new release from within wp-admin.

The Object Cache Pro plugin can be automatically updated with a new release from within wp-admin.



The WP-CLI command to set the Object Cache Pro plugin to be automatically updated:

wp plugin auto-updates enable object-cache-pro


If you are using the Redis Object Cache plugin, it can also be automatically updated. The WP-CLI command to set the Redis Object Cache plugin to be automatically updated:

wp plugin auto-updates enable redis-cache


Please contact support if you need any help with Redis object caching on your Managed WordPress or Managed WooCommerce sites.

Get started with fully managed hosting from Nexcess

Not a Nexcess customer yet? Check out our hosting plans to get started today.

Object caching FAQs

What is web caching in web design?

Web caching is a central design feature of your website's infrastructure meant to minimize network traffic while improving the perceived responsiveness of the site as a whole. In optimal web design, caches are found at every level of a content's journey from the original server to the end user's browser.

What is the benefit of a caching system?

The primary purpose of an intentional caching system is to increase data retrieval performance by reducing the need to access the underlying slower storage layer. By trading off capacity for speed, a cache stores a subset of data temporarily, whereas other data stores and databases keep data in a comprehensive and durable form.

Useful WordPress links for developers and admins

Recent articles

Related articles

Note about the original publication date

This article was originally published in February 2020. It has since been updated for accuracy and comprehensiveness.

Luke Cavanagh
Luke Cavanagh

Luke Cavanagh, Strategic Support & Accelerant at Liquid Web, brings a decade of experience working with WordPress and WooCommerce to our product team. His GitHub page offers a glimpse into his multiple areas of subject matter expertise.

"Ninja stuff with WordPress and WooCommerce," is an apropos way to describe Luke's savviness with these platforms — and his way of influencing our organization for improving to them.

Coming out of the University of Brighton with a Business and Technology Education Council (BTEC) Higher National Diploma (HND) in 2D & 3D Design, Luke's credentials prepared him well for his current role that blends both web development and design. His HND credential leveraged his foundational learning at West Kent College, where he received a National Diploma (ND) in Graphic Design.

In his personal life, Luke is a devoted husband and teen wrangler. He considers himself a Synthwave enthusiast, Jerry Goldsmith fan, and Doctor Who aficionado. He is happy to introduce his friends and teammates to essential vocabulary for life found only in British English, such as "gubbins" and similar terms.

We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.