How should Redis object caching be configured?

For single node/standalone:

In LiteSpeed Object Cache settings, establish your Redis connection with:

Object Cache: ON
Method: Redis
Host: /var/run/redis/redis.sock
Port: 0

For cluster environments:

In LiteSpeed Object Cache settings, establish your Redis connection with:

Object Cache: ON
Method: Redis
Host: Copy the IP address from the Redis node:

Port: Enter 6379

Password: Retrieve password by going to Config on the Redis node:

  • Open redis.conf and on the bottom of the file you will find the password.

Make sure to click on Save to save changes.