nuts
nuts copied to clipboard
Multiple instances of the app
@SamyPesse I was thinking of the architecture a bit for this app, it really only works with the /refresh URI with one instance. If you have multiple instances of the app running it will only refresh the versions on one of the instances. To fix this a common cache is needed. Thoughts on adding an optional dependency redis or memcached?
This is the node module I am looking at using, https://github.com/BryanDonovan/node-cache-manager. It can default to memory if an environment variable is not set.
I'll be happy to merge a PR to fix this issue. I agree that the caching should be done with potential multiple caching backend.