Caching
Node.js by default caches modules. If a module is requested multiple times, it just loads it once and returns from that cache after that.
The cache is global, living in require.cache object.
Node.js by default caches modules. If a module is requested multiple times, it just loads it once and returns from that cache after that.
The cache is global, living in require.cache object.