npm installs are now faster, with fewer requests and lookups

Two changes reduce the work involved in resolving npm packages: pnpm clients make fewer requests to Cloudsmith, and every npm repository makes fewer lookups to upstreams. No configuration changes are needed.

Fewer requests for pnpm clients

For each package downloaded, pnpm clients now make 40% fewer metadata requests and 92% fewer attestations requests. Installs finish faster and CI builds stay lighter, especially on fresh runners with no local cache.

More npm metadata served from Cloudsmith’s index

Cloudsmith indexes npm metadata as packages are requested, then serves it directly instead of calling the upstream each time, so resolution gets faster the more a repository is used. This means lower latency, faster installs, and less reliance on upstream availability.

Keep up to date with our monthly product bulletin