cache – How to connect Redis Cluster in WordPress?
I have configured the redis cluster on Amazon’s ElastiCache and I would like to connect it to wordpress to get a plugin to manage the cache.
As host I used the cluster’s primary endpoint:
define( 'WP_REDIS_CLIENT', 'predis' ); define( 'WP_REDIS_HOST', 'my-primary-endpoint-cluster.cache.amazonaws.com:6379' ); define( 'WP_REDIS_PORT', '6379'); define( 'WP_REDIS_DATABASE', 5 );
I also tried using the node endpoint, but without success.