3 ms·
I think a better way to handle this would be to use subresource integrity [1]. Then, if the browser's cached version matches the hash, it can be sure that it do
by DanWaterworth 9y ago
I think a better way to handle this would be to use subresource integrity [1]. Then, if the browser's cached version matches the hash, it can be sure that it doesn't need to do any requests.
[1] https://developer.mozilla.org/en-US/docs/Web/Security/ https://developer.mozilla.org/en-US/docs/Web/Security/