You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want fail-over for resources such as scripts, CSS files, images, and so on. If a file is not available from one address, a backup source should be available. In particular this would be helpful for script files, where a sub-resource integrity failure could allow for failover to a different address for a copy of the file.
For example, if I'm using a script like jQuery from example.com and it changes (and so starts to fail sub-resource integrity checks), I want to be able to tell the browser to load the script file from another site. That way a change to a script on a CDN can't break my site.
The backup address may also support a different SRI hash.
This discussion was converted from issue #213 on December 04, 2020 22:38.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want fail-over for resources such as scripts, CSS files, images, and so on. If a file is not available from one address, a backup source should be available. In particular this would be helpful for script files, where a sub-resource integrity failure could allow for failover to a different address for a copy of the file.
For example, if I'm using a script like jQuery from example.com and it changes (and so starts to fail sub-resource integrity checks), I want to be able to tell the browser to load the script file from another site. That way a change to a script on a CDN can't break my site.
The backup address may also support a different SRI hash.
https://webwewant.fyi/wants/126/
Beta Was this translation helpful? Give feedback.
All reactions