express-redis-cache
express-redis-cache copied to clipboard
Init Config Commands
Would it be beneficial to have an initialization option that would run commands against the server?
My thought is for when a Redis server is created by some launcher (so no control over redis.conf). In this situation, it may be good to be able to run some config commands to set Redis into a given state, such as setting the maxmemory-policy
etc, or perhaps warming the cache with values.
Opinions on this? I'd be happy to work on this if other's see benefit.
@bsyk yes, PR welcome to the dev branch.