IPFS allows one to benefit from a decentralized infrastructure by moving away from traditional location-based addressing to content-based addressing.
"IPFS is a distributed system for storing and accessing files, websites, applications, and data.”
A typical URL follows the structure as seen below. First comes the gateway URL, which in this case is https://cloudflare-ipfs.com followed by /ipfs/ and the content identifier (CID) which is how IPFS can get content from multiple places.
https://{gateway URL}/ipfs/{content ID}/{optional path to resource}
Here a small example:
https://cloudflare-ipfs.com/ipfs/QmfSky1pj6A2mUan7gSgTzQAR4nKa3QeqJBPsXNeahGhGt/
And with a CNAME we can have a shorter and easier to remember URL:
https://ipfs.cf-testing.com/
Additionally, feel free to check out the Get started Building Web3 Apps with Cloudflare blog post where you can find an open-source codebase to test a Web3 demo application.
The information contained on this website is for general information and educational purposes only. This website is not affiliated with the company Cloudflare, nor does it represent Cloudflare in any way.