Support » Plugin: Redis Object Cache » Setup redis clustering?

  • Resolved sebasjuh


    I am using redis object cache plugin and created a redis database on my webhost and connected to it. So far so good, only my problem is the redis database on my webhost has a max size so I created another redis database.

    To connect to my redis cache database I entered this in my wpconfig file:
    define(‘WP_REDIS_HOST’, ‘IP’);
    define(‘WP_REDIS_PORT’, ‘PORT’);

    On the Redis Object Cache page it says for clustering you need to use this:
    define( ‘WP_REDIS_CLUSTER’, [
    ] );<h3>WP-CLI Commands</h3>

    In which file to I need to apply these lines? Or how can I setup multiple redis databases to use?

Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss


    It’s better to set an eviction policy on your Redis instance.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.