3 ms·
The better way to do this is to specify the vendored location and hash of the resource. That way, you can safely leverage any version regardless of its downloa
by paulddraper 7y ago
The better way to do this is to specify the vendored location and hash of the resource.
That way, you can safely leverage any version regardless of its downloaded location.
Content digests are already used in the `integrity` HTML attribute; it could be used for a cache key too.
It still has the version fragmentation problem, but you don't have to worry about picking a popular CDN.