There was a problem loading the comments.

Enable Object Caching with Redis using LSCache

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

The first thing to do is to navigate to Redis in cPanel:

 

f3361001d054710f8a981ceab2176a87fb9b18ab901deecd398e8ef06a2d40327b843abc8d41332c?t=7a9083a03bc7baa8bd63596f9a4b9197

 

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 come back 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

 

Once enabled we can login to WordPress and access the LiteSpeed Cache.

 

Under Cache -> Object we can find the settings for enabling Redis:

 

5b2782ecae834612c21ec6589110bd7a3151ff56176107251aa44d231a9bdda53748f7d1e7e87c10?t=edd162a0885e8eae65954648622bc99d

 

The settings we need to enable here are:

  • Change Object Cache from Off to On
  • Switch Method to Redis
  • Set the Host to be the socket path noted down earlier
  • Change port to 0

Once done hit save and the Redis cache should be ready to go!


Share via
Did you find this article useful?  

Related Articles

© Brixly