3 ms·
> Multiplied with the total number of downloads last month the node community downloaded 140GB worth of isarray. This is not true. NPM locally caches every mod
by dc2 11y ago
> Multiplied with the total number of downloads last month the node community downloaded 140GB worth of isarray.
This is not true. NPM locally caches every module the first time it is downloaded.
Therefore with widely downloaded modules such as isarray, it is very likely it has already been downloaded on the local system and so is pulled from the cache.
The actual percentage of fresh downloads from NPM in a real-world deployment is overwhelmingly small.
- bentlegen 11y agoI'm curious if npm's published statistics like "downloads in a day", "downloads in the last month" include copies from a local cache.
- the_mitsuhiko 11y ago> This is not true. NPM locally caches every module the first time it is downloaded. This is literally coming from the npm website. Presumably that number is what it says: downloads.