ipfs / ipget

Retrieve files over IPFS and save them locally.
MIT License
385 stars 55 forks source link

Use public gateway for small files #17

Open hackergrrl opened 8 years ago

hackergrrl commented 8 years ago

To offset the cost of starting up a new ephemeral node (high), first ping a public gateway (e.g. ipfs.io) to get the size of the requested object. If it's over some size (recursively), start up the node. Otherwise perform a GET over the gateway (and validate the hash).

ghost commented 8 years ago

We'll soon-ish have geo-aware DNS which will make this even more useful

hackergrrl commented 8 years ago

@lgierth: is there a tracking issue for this somewhere?

ghost commented 8 years ago

@noffle just made one: ipfs/infrastructure#153

I haven't looked into it at all yet, feel free if you want to :)