Many web hosts utilising cPanel and CloudLinux seek to enable Redis Cache across their servers without the burden of additional per-website or account fees. Given that Redis Cache is freely available on numerous other control panels, they believe it should be included at no extra cost with cPanel and CloudLinux, especially considering the expenses already associated with these platforms. LSCache, known for its robust client-side caching capabilities, requires Redis to be installed on the server and the corresponding PHP module enabled in the PHP Selector within each cPanel account.
The current approach to achieve this involves installing Redis on the server as a shared service, but this method is not recommended due to the security risks posed by having all cPanel users share the same Redis instance. While AccelerateWP Premium offers a solution by providing secure and separate Redis instances for each cPanel account, it is only compatible with Apache and does not support LSCache from LiteSpeed, limiting its utility for many users.
To address these challenges, the free redis plugin offers an effective alternative. It establishes secure and separate Redis instances for each cPanel account, ensuring compatibility with LiteSpeed/LSCache. Moreover, the plugin is free, eliminating the need for the $1.20 per user fee associated with AccelerateWP Premium when using CloudLinux, making it a cost-effective and secure solution for web hosts.
Using Redis cache with LiteSpeed Cache (LSCache) offers several benefits that can significantly enhance the performance and scalability of web applications. Here are the key advantages:
Acknowledgements
Before deploying to a production server, please verify that everything works perfectly in your environment. Use at your own risk.
UPDATE
The developer has removed the plugin from Github.
We now offer Redis Cache with cPanel. You can view our article in our knowlagebase
How to Enable Redis Object Cache for WordPress (LiteSpeed)