medikoo / memoizee

Complete memoize/cache solution for JavaScript
ISC License
1.73k stars 61 forks source link

Feature Request: Wouldn't it be good if we could use a Redis backend? #129

Closed ATheCoder closed 2 years ago

ATheCoder commented 2 years ago

This can help when an application is running on a cluster and has multiple instances

drone1 commented 2 years ago

This is exactly what I came here looking for. In my memory, this package already supported a Redis-backed option, so I was a bit shocked that I couldn't find it in the documentation.

Such a great package, but for my application, I'd love to be able to NOT have to "warm" every cache on every deploy for every instance in my cluster.

Would be a great feature IMO. Any chance this is coming, or any suggestions?

Thanks so much!

medikoo commented 2 years ago

@ATheCoder v1.0 API once implemented (no ETA, unfortunately) will allow to setup persistent caching

We've discussed that at https://github.com/medikoo/memoizee/issues/33 so I'm going to close that one as duplicate