NPM 3 slowness. Alternative cache implementation.

NPM 3 works significantly slower than its preceding version. Bad news is that development team is not going to do anything about it.
https://github.com/npm/npm/issues/8826
I've implemented an alternative cache based on junction point that works much faster. Instead of restoring each package it mirrors the whole node_modules folder from cache using junctions. This approach gave me a noticeable performance improvement. Restoring from cache happens almost instantaneously.

Comments

Popular posts from this blog

TFS Proxy not working: The source control proxy is not responding

Demystifying fast up-to-date check in Visual Studio C# projects

Bitcoin, Docker, Microservices, etc.