mrusme / superhighway84

USENET-inspired, uncensorable, decentralized internet discussion system running on IPFS & OrbitDB
https://xn--gckvb8fzb.com/superhighway84
GNU General Public License v3.0
694 stars 24 forks source link

Trustless gateways #50

Open Winterhuman opened 1 year ago

Winterhuman commented 1 year ago

I was reading your recent blog post and saw you mentioned that open files were causing memory issues, just wanted to open this issue about considering using Trustless IPFS gateways for fetching content as a way to reduce memory consumption from clients.

By using cid.ipfs.gateway.tld/?format=car, you can fetch a CAR file that allows "light IPFS clients" to fetch content without needing to worry about gateways mistakenly or maliciously giving the wrong content (since the cid won't match the root CID in the CAR file if it's been modified).

mrusme commented 1 year ago

@Winterhuman thank you for reaching out! This sounds interesting, I'll check it out!