Hacker Newsnew | past | comments | ask | show | jobs | submit | restwell's commentslogin

Is it possible to update a website hosted on IPFS and push those changes to all IPFS users?

The equivalent on AWS Cloudfront would be breaking the cache, so all users would see the most recent version.

I'm not sure if this would work on IPFS because it seems more like a P2P network and there might be many different (and old) versions of the site at different locations in the system, with no way of controlling who sees what.


Not an expert, but:

IPFS is p2p, but all the content is accessed only by a hash, so the same address always refers to the same version; when you update the site, you're actually creating a new address, leaving the old untouched.

Using Cloudflare, you can tie a regular domain to one of these addresses, but that "tie" is only stored there, so when you push a new version, you can update the Cloudflare settings, and everyone connecting to the domain will see the new version "immediately", even if the old version still exists in the p2p network.


ipfs has its own mutable content adressing named IPNS


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: