Serving Cloudflare Pages sites to the IPFS network
May 16, 2022Thibault Meunier

Summary
This post details the technical integration of Cloudflare Pages with the IPFS network. It explains how Cloudflare Pages content is transformed into IPFS CIDs (Content Identifiers) using a MerkleDAG structure, with optimizations for shared data. An IPFS Index Proxy, built on Cloudflare Workers and Workers KV, maps CIDs to data locations. A Cloudflare-hosted IPFS node serves this content. The post outlines the steps for users to opt-in, index their Pages content on IPFS, and make it accessible via DNSLink. It also touches upon the underlying IPFS concepts like nodes, peers, routing tables, datastores, and MerkleDAGs.
More from the Blockchain Technology & Decentralization trail
- Async QUIC and HTTP:3 made easy- tokio-quiche is now open-source
- Launching the x402 Foundation with Coinbase, and support for x402 transactions
- Ethereum Gateway support for Görli + Sepolia Testnets and the Ethereum Merge
- Proof of Stake and our next experiments in web3
- Public access for our Ethereum and IPFS gateways now available