Insane idea (don't flog me): NPM browser extension. Once a site uses a dependency, it gets stored locally & doesn't need to be downloaded again.
Like CDNs, but with more strongly enforced SST, because CDNs don’t actually gain the caching benefits they initially hoped.