Litespeed Cache is strongly recommended as an alternative to other caching plugins and has been benchmarked to offer far superior performance due to its native ability to work with our Litespeed Enterprise web servers. However, if you are using any other plugin for caching that doesn't offer native Object Cache support, it's still possible to integrate with Redis using the 'Redis Object Cache' plugin.

To install the 'Redis Object Cache' plugin for WordPress, follow these steps:

  1. Log in to your WordPress admin dashboard.
  2. Navigate to the 'Plugins' section by clicking on 'Plugins' in the left-hand menu.
  3. Click on the 'Add New' button at the top of the page.
  4. In the search bar, type 'Redis Object Cache' and press Enter.
  5. Look for the 'Redis Object Cache' plugin by Till Krüss in the search results.
  6. Click the 'Install Now' button next to the plugin.
  7. After the installation is complete, click the 'Activate' button to enable the plugin on your WordPress site.


Now that the plugin is installed and activated, you'll need to enable the Redis socket via the Redis section of cPanel... 

Once within the Redis tool enable it for your account:

8cea05af98a43f0ae14f1ef06fc27e22dd68a930d4ae0d0550f29e5bfe225636de4efc900010fd69?t=863f5880e4b5789faca0c029876d7b87

 

Once enabled, copy the Redis socket path, as we will need this later! You can always return to this screen if you need to view this again.

Now we need to enable the Redis extension; this is enabled under cPanel -> Select PHP Version -> Extensions -> Redis

b90d43596909da08e36709a186a4d99f9578bdc66c286b49382c58e3129ce2e21a199104b5668f0a?t=e7642b817c8d3451f2dde2bec551188f

Lastly, the plugin doesn't allow you to define a socket path within the interface, so we have to add the following lines to your wp-config.php file, ensuring the path is correct as per the Redis screen in cPanel...

define('WP_REDIS_PATH', '/home/brixlymonitoring/tmp/redis.sock');
define('WP_REDIS_SCHEME', 'unix');

 Once done, click 'Enable Object Cache' in the Redis WordPress Plugin...0441a58bf5be1493e0228d84826847e474d075a662d3ac1103147eab48a37dfbd9eb6110475cf00e?t=96fb6f4421c200496edc90ce8cb2ab59

If this has been done correctly, you should see something similar to the following...8507db23effb8cb49070e7486fca0a3bec2500a38943bf4c603925933e64eeaa1cfefff4c2512871?t=f4a45d1212a8d25458b81b35acf4f1dc