wouldn't it be nice if sites could share a cache of common js? ... stuff like react, or vue or svelte? 👉 there's an early stage proposal for cross-origin storage which enables exactly this. there are challenges but I think it's very interesting indeed
Post
github.comGitHub - WICG/cross-origin-storage: Explainer for the Cross-Origin Storage (COS) APIExplainer for the Cross-Origin Storage (COS) API. Contribute to WICG/cross-origin-storage development by creating an account on GitHub.
Being hash-based helps us there. You can be sure about the content as long as the hash matches. A resource with hash abc123 put in the COS cache can be trusted, even if it came from sketchy-server dot com. The hash is checked before writing to COS.
0 reposts4 likes
Found the repo: github.com/driverdan/dr... There’s also a wiki page with links to news at the time… 15 years ago omg
github.comGitHub - driverdan/dropship: Instantly transfer files between Dropbox accounts using only their hashes.Instantly transfer files between Dropbox accounts using only their hashes. - driverdan/dropship
As an aside, we adopted SSRI for @calibreapp.com RUM and it’s a really great assurance to have as a script provider.