-
Notifications
You must be signed in to change notification settings - Fork 30
the gateless gate (無門関) #104
Comments
I feel this belongs to this discussion: |
I've just found RFC 6249: Metalink/HTTP: Mirrors and Hashes.
The "IPFS signal" could be as simple as:
In theory, browser add-ons (Firefox, Chrome) could then detect this signal during onHeadersReceived event, initiate parallel download or abort and replace response with redirect to local gateway, or add resource to local IPFS cache. |
Latest version of our browser extension (ipfs-companion) performs path validation followed with opportunistic redirect to local gateway on every website: ipfs/ipfs-companion#16 (comment) |
If a web site uses IPFS hashes as the names of some of its files (especially in the
/ipfs/
path from the root), such site (as discussed in #92) should probably be detected as an IPFS gateway.But what if such a web site merely uses IPFS multihashes to name its files (for example, using
multer
to decode an uploaded file and then usingmulti-hash
to determine its IPFS hash and rename that file) without being an IPFS gate in the stricter sense (i.e. without publishing these files to the IPFS filesystem afterwards)?Why that site would do that? — well, because, for example,
What would happen then?
When the site does not run an IPFS daemon, it cannot differentiate between these two cases.
However, could such site give some signal to the rerouting clients (Firefox addon, Chrome extension, etc.) telling them that they may hope for the former case but should still have some fear of the latter case?
Such signal might mean, for example,
For unique files that should cause some form of web seeding to IPFS (it might require some complex bandwidth throttling such as BitTorrent's BEP 17, it might also be as simple as BitTorrent's BEP 19).
The text was updated successfully, but these errors were encountered: