Subresource integrity (SRI) is a great tool for security, however it inhibits onionification. This is a very kludgy bypass which may impact user-visible content because it does not distinguish between content and HTML/CSS, etc.
If you are going to be setting up an onion site for your content, and you use SRI, it's better to engineer content to not need rewriting if at all possible, eg: by using relative URLs; or in worst case to have a second set of content for the onion site.
Subresource integrity (SRI) is a great tool for security, however it inhibits onionification. This is a very kludgy bypass which may impact user-visible content because it does not distinguish between content and HTML/CSS, etc.
If you are going to be setting up an onion site for your content, and you use SRI, it's better to engineer content to not need rewriting if at all possible, eg: by using relative URLs; or in worst case to have a second set of content for the onion site.