Subresource Integrity (SRI) is a security feature that enables browsers to verify that files they fetch (for example, from a CDN) are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched file must match.
<script
src="https://example.com/example-framework.js"
></script>
It should probably be implemented similarly to the hash generation for cache busting.
Source: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
It should probably be implemented similarly to the hash generation for cache busting.
Source: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity