Thank you for adding Redis support to Chevereto — it’s a great step toward improving performance. However, the current implementation has a few limitations that make integration difficult in certain environments. Would it be possible to add the following improvements?
- Unix Socket support. Currently, only TCP connections (host + port) are supported, but many Redis setups use Unix sockets (especially when Redis and PHP are on the same server).
- Database selection. Redis supports multiple databases (db0, db1, etc.), but there’s no select() call in the code. Adding a CHEVERETO_CACHE_DATABASE parameter and passing it to $redis->select() would resolve this.
- TLS/SSL support. For cloud or distributed setups TLS encryption is essential.
- Redis ACL support. The CHEVERETO_CACHE_USER parameter exists but isn’t used in the code.