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.
It seems a little different because when a package manager pulls in the pin you see the code yourself, you can scan it, and then you serve it; so the chain of evidence is preserved all the way through. With this, you don’t necessarily deliver the code, and you remotely fetch it, so there’s a “gap”
0 reposts1 like