A node.js cache module using in-memory cache or a Redis database