-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Description
The Service Worker Gateway is a browser-based retrieval client for resources on IPFS, which can be used for individual resources or whole static websites.
However, the Service Worker Gateway isn't useful for existing sites/apps that hotlink to ipfs.io for resources/assets like images.
For such sites, a drop-in Helia based Service Worker (that uses @helia/verified-fetch) that they import and integrate into their application would be a better solution.
This solution is technically very similar to the Service Worker Gateway with the difference that it's embedded into an application rather then used as a distribution vehicle for apps (SW GW)
Expected impact
- Existing sites that hotlink ipfs.io (or any public gateway) can easily blanket migrate all traffic away from public gateways in favour of verified and direct retrieval.
- A universal solution that can be added to existing sites significant code changes to the app.