Every web app needs some assets
Are you sure, that the assets received by the browser are the same your server has sent?
Is it your problem as developer to ensure that?
<html>
<head>
<title>Page</title>
<link
rel="stylesheet"
href="style.css"
/>
</head>
<body>
<script
src="script.js"
></script>
</body>
</html>
› cat script.js | openssl dgst -sha512 -binary | openssl enc -base64 -A
sG+Ez27OjzA8ygZk0s7+BAG/5c/RgAXbLZjcDRHwe+PJiGJ/KCoh4S7bO+SS6jcKxjmtPcKM9n+5OtR0LE3MCA==
<html>
<head>
<title>Page</title>
<link
rel="stylesheet"
href="style.css"
crossorigin="anonymous"
integrity="sha512-8JD/tA1sY91TVQzWWK8fo0dkt90/4CNAOSdz06fkgtO0vzrzxExqC8OED8GCqfz6SBsa2mC9TvU7OK+s6atY5Q=="
/>
</head>
<body>
<script
src="script.js"
crossorigin="anonymous"
integrity="sha512-sG+Ez27OjzA8ygZk0s7+BAG/5c/RgAXbLZjcDRHwe+PJiGJ/KCoh4S7bO+SS6jcKxjmtPcKM9n+5OtR0LE3MCA=="
></script>
</body>
</html>
<html>
<head>
<title>Page</title>
<link
rel="stylesheet"
href="style.css"
crossorigin="anonymous"
integrity="sha512-8JD/tA1sY91TVQzWWK8fo0dkt90/4CNAOSdz06fkgtO0vzrzxExqC8OED8GCqfz6SBsa2mC9TvU7OK+s6atY5Q=="
/>
</head>
<body>
<script
src="script.js"
crossorigin="anonymous"
integrity="sha384-r3CXcejLa9Rhj9dcft/KmEbwYzCdCtYEwsohRGLdIOOipftyZh8Um2R8bRGv+PMR sha512-sG+Ez27OjzA8ygZk0s7+BAG/5c/RgAXbLZjcDRHwe+PJiGJ/KCoh4S7bO+SS6jcKxjmtPcKM9n+5OtR0LE3MCA=="
></script>
</body>
</html>