rhubarbgroup / redis-cache

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
https://wordpress.org/plugins/redis-cache/
GNU General Public License v3.0
425 stars 148 forks source link

adds support for ssl context in redis clusters #518

Closed mbrowngold closed 4 months ago

mbrowngold commented 4 months ago

This is necessary when connecting to a REDIS cluster that requires an ssl context (e.g. AWS Elasticache serverless)

tillkruss commented 4 months ago

Great. Can you test the changes I've made. If they work for you we can merge.

mbrowngold commented 4 months ago

Great. Can you test the changes I've made. If they work for you we can merge.

it works, but I believe you meant to do !array_key_exists() (I don't have a password on my setup so it would still work for me)