profile_pic

Brixly

New

Improved

Feature Request

Announcement

We have offered LSMCD as part of our hosting services for the past few years. However, the LSMCD service is a fork of 'Memcached', which utilises SASL for authentication, and has, in all honesty, been problematic!

The issue is upstream, and whilst we have pestered Litespeed for a permanent solution to the SASL issues, these are yet to be provided!

As such, we are incredibly pleased to finally announce the long-awaited release of Redis, our custom-built cPanel plugin, which provides comparable functionality with full compatibility with the LSCache plugin, but without the need for SASL / authentication.

In addition, the Redis instance is created 'within' the cPanel user via a custom socket, which means the environment remains secure and retained within the LVE constraints of your cPanel user account.

We have added an article on how to set this up here...

https://support.brixly.uk/en/knowledgebase/article/enable-object-caching-with-redis

How to install Redis for LSCache:

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 return to this screen if you need to view this again.

 

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

 

b90d43596909da08e36709a186a4d99f9578bdc66c286b49382c58e3129ce2e21a199104b5668f0a?t=e7642b817c8d3451f2dde2bec551188f

 

Once enabled, we can log in 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!

January 9th 2023