ioredis
ioredis copied to clipboard
Is there a plan for supporting client caching?
The most important feature in redis 6 seems to be client caching. Is there a plan for supporting client caching?
Thanks for bringing this up. It's not on the roadmap for the moment but I think it's nice to have. Any PRs and discussions are welcome.
We are wanting to use server assisted client side caching as well.
Any updates on this topic? Interested to help, but not too familiar with libs internals.
Edit: sorry, didn't look through hard enough, found this issue which explains it all https://github.com/luin/ioredis/issues/1073
Seems like supporting client-side caching is not likely for the near future https://github.com/luin/ioredis/pull/1504#issuecomment-1030865630
Before the implementation of the resp3 protocol handler will be started, it would be useful to spec out an api and requirements for client side invalidation.
According to https://redis.io/topics/client-side-caching#two-connections-mode RESP2
would also already work with a PUB/SUB
approach.
So anybody with a use-case or free time would be welcome to tackle that.