January 9th 2023

New

Improved

Feature Request

Announcement

cPanel - Redis Cache - Now Available!

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:

 

 

Once within the Redis tool, enable it for your account:

 

 

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

 

 

Once enabled, we can log in to WordPress and access the LiteSpeed Cache.

 

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

 

 

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!

Type @ to mention posts