Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How to Enable Redis Object Cache Plugin With OpenLiteSpeed

Redis Object Cache is a powerful caching solution that helps improve the performance and scalability of WordPress websites. By integrating Redis with your xCloud server running OpenLiteSpeed, you can reduce database queries, speed up page loads, and provide a smoother experience for your visitors.

The LiteSpeed Cache plugin already includes Redis integration, so you do not need to install any additional plugin if you do not want it. However, this guide is for those who prefer to use the Redis Object Cache plugin separately instead of LiteSpeedโ€™s built-in Redis option.

Let us follow the step-by-step process to enable Redis Object Cache plugin with OpenLiteSpeed servers correctly and without conflicts.

Step 1. Enable LiteSpeed Cache Plugin #

First, go to your site from the dashboard. Then, find the โ€˜WordPressโ€™ option from the side navigation bar and toggle on the โ€˜LiteSpeed Cacheโ€™ button to enable the plugin from the xCloud dashboard. 

Once you toggle on the โ€˜LiteSpeed Cacheโ€™, you will get the โ€˜Redis Userโ€™, โ€˜Redis Passwordโ€™ and โ€˜Redis Object Cache Keyโ€™ or Redis Prefix. Collect the credentials.

Enable Redis Object Cache Plugin

Step 2: Access the wp-config.php file  #

Next, go to โ€˜WordPressโ€™ โ†’ โ€˜WP Configโ€™ from the sidebar to customize the wp-config file directly from the xCloud dashboard. 

Enable Redis Object Cache Plugin

Once you are in the wp-config.php editor panel. Add the following code into the editor and update the username, password, and prefix with the Redis credentials you collected earlier from the LiteSpeed Cache page. After updating the values, click on the Update Config button to save the changes.

Copy to clipboard
define( 'WP_REDIS_PASSWORD', ["user", "password"] );
define( 'WP_REDIS_DISABLE_BANNERS', 'true' );
define( 'WP_REDIS_PREFIX', 'prefix' );
Enable Redis Object Cache Plugin

Step 3: Turn OFF or Uninstall the Object Cache Plugin #

To use the Redis Object Cache in OpenLiteSpeed servers, you need to prevent conflicts between caching systems. LiteSpeed Cache plugin handles both Full Page Cache and Object Cache, and Redis is already configured inside it.

  • If you want to use the Redis Object Cache plugin separately, you must either disable the Object Cache option in LiteSpeed Cache or uninstall the plugin entirely.
  • If you want to continue using LiteSpeed Cache for full page caching only, then just disable the Object Cache option.

Go to LiteSpeed Cache โ†’ Cache, turn off the Object Cache button, and click Save Changes to proceed.

Enable Redis Object Cache Plugin

You can also uninstall and deactivate the LiteSpeed Cache plugin. Just go to Plugins โ†’ Installed Plugins and locate โ€˜LiteSpeed Cache (LS Cache)โ€™. Deactivate and uninstall the LS Cache plugin to prevent conflicts between caching systems.

Enable Redis Object Cache Plugin

Step 4. Install And Activate Redis Cache Plugin #

Next, you will configure WordPress to use the Redis cache plugin. Log in to your WordPress admin dashboard. Navigate to ‘Plugins’ โ†’ ‘Add New’. In the search bar, type ‘Redis Object Cache‘. Click ‘Install Now‘ and then ‘Activate’.

Enable Redis Object Cache Plugin

After installing and activating the plugin go to the โ€˜Settingsโ€™ โ†’ โ€˜Redis‘ from the sidebar and just click on the โ€˜Enable Object Cacheโ€™ button from the dashboard. 

Enable Redis Object Cache Plugin

If configured correctly, you will see a success message indicating that Redis is connected. Look for the Overview tab. It should show:

Status: Connected

Filesystem: Writeable

Redis: Reacable

If you see these values, your Redis cache is active and working.

Enable Redis Object Cache Plugin

And thatโ€™s it, this is how easily you can enable Redis Object Cache on OLS server with xCloud. With Redis successfully connected, your WordPress website will run faster, handle more traffic efficiently, and deliver a seamless experience to your users.

Still stuck? Contact ourย dedicated support teamย for any of your queries.

What are your feelings

Updated on September 14, 2025

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00