Released today: https://developers.cloudflare.com/distributed-web/ipfs-gateway/
In that case dapps.earth will just need to run small DNS server that for each subdomain returns corresponding TXT record pointing to DNS content. *.ipfs.dapps.earth would be CNAME-d to cloudflare-ipfs.com
Pros:
- Much easier to scale and less infra to maintain, better latency
- They have some headers to ensure browser can verify integrity of the content
Cons:
- Each subdomain would need to manually request SSL certificate from Cloudflare through their form (or maybe they will add an API or support wildcard)
- Depenence on single vendor (they can get hacked, or discontinue the service, or censor content)
May also redirect only the subdomains for which we know Cloudflare has SSL certificate.
Released today: https://developers.cloudflare.com/distributed-web/ipfs-gateway/
In that case dapps.earth will just need to run small DNS server that for each subdomain returns corresponding TXT record pointing to DNS content.
*.ipfs.dapps.earthwould be CNAME-d tocloudflare-ipfs.comPros:
Cons:
May also redirect only the subdomains for which we know Cloudflare has SSL certificate.