Hi Support,
Is their any documentation link to configure Redis Object caching for WordPress with LScache deployed using Cyberpanel.
I was looking at this article "
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:redis " but would like to know any documentation from cyberpanel team.
Regards,
Comments
1) Ensure Redis is up and running
2) Enable Redis via the WordPress plugin, only setting I had to change was password because I use requirepass
Additionally, I'd recommend these settings in redis.conf:
maxmemory 100mb
maxmemory-policy allkeys-lru
maxmemory-samples 10
appendonly yes
and disable snapshotting, comment out the lines beginning with "save" to do this, for example,
#save 900 1
#save 300 10
#save 60 10000
I'd also add vm.overcommit_memory = 1 to /etc/sysctl.conf.
Also disable transparent huge pages,
echo never > /sys/kernel/mm/transparent_hugepage/enabled
Thanks for the detailed reply I will try this out, also can these settings be used for Woocommerce sites.
Regards.
Yes, these are good settings for any kind of site.
If you are using the WordPress LSCache plugin, Redis is fully supported and can be enabled in the advanced menu options.
thanks
I do use it on production, the server is never strained. Hard to estimate how many visitors it could handle but I'd guess thousands. (8gb Vultr server)
> (Quote)
> I use both together with no issue.
> If you are using the WordPress LSCache plugin, Redis is fully supported and can be enabled in the advanced menu options.
On LiteSpeedCache plug-in, Is it necessary to put in Redis Database ID number?
This is on a server with multiple Wordpress sites on it. Do they each have their own Redis Database ID number?
Or can that be ignored?