mongoose-redis-cache
mongoose-redis-cache copied to clipboard
wish: expire cached entries on save
Haven't tried this yet, but it seems stale data might be returned after save() is called ?
If the cache expired on save() then the expiry time could be significantly increased thereby reducing the calls to mongodb.
Cheers!
+1
This would be great for collections which are rarely updated! Any plans to implement this?
Bump, it would be a perfect solution