Simple memory-based cache for Node