I wonder if browsers could keep a cache with those hashes as keys and whenever the integrity hash has a match, then it can take the JS from the cache. That would save huge amounts of bandwidth and pages would be so much faster to load.
Probably right now we're fetching the same version of jquery hundred of times from 20 different domains a day.
It looks like this:
I wonder if browsers could keep a cache with those hashes as keys and whenever the integrity hash has a match, then it can take the JS from the cache. That would save huge amounts of bandwidth and pages would be so much faster to load.Probably right now we're fetching the same version of jquery hundred of times from 20 different domains a day.