This video raises an interesting point that if the frameworks everyone is using is distributed from the same CDN it could potentially drastically reduce latency in browsers.
https://youtu.be/ciNXbR5wvhU?si=7jvDy0Ns-Xd_qRrI&t=990
Feels like this is an opportunity for a project to be built on IPFS! Iirc there was a project in the past that tried to put npm packages on ipfs, but this is far more interesting imo. The end goal would be something where my app either:
- Is distributed over IPFS and the framework (e.g. React) CID is just included under my website tree
- Loads the framework (e.g. React) from a dedicated CDN (which uses IPFS in the background), and use Subresource integrity checks to ensure I get the correct content