logoalt Hacker News

XorNotyesterday at 10:42 PM1 replyview on HN

Caching NPM was easier when you could pull the Couchbase replicate API. Afaik that's gone and now you just have to send a bazillion http requests instead.


Replies

nine_ktoday at 12:06 AM

Sending a bazillion http requests within your LAN, or at least your VPC, is much easier, faster, and cheaper.

Both yarn and pnpm support http/2 which speeds up the bazillion requests quite a bit.