Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what the aspect that IPFS can help with CDN ? #1

Open
fankeke opened this issue Sep 27, 2018 · 1 comment
Open

what the aspect that IPFS can help with CDN ? #1

fankeke opened this issue Sep 27, 2018 · 1 comment

Comments

@fankeke
Copy link

fankeke commented Sep 27, 2018

hello
recently cloudflare setup ipfs gateway online.
[https://blog.cloudflare.com/distributed-web-gateway/]

so I ask what the good point IPFS can help with currently CDN?

any suggestion would be appreciate. thanks.

@d10r
Copy link
Owner

d10r commented Nov 20, 2018

I'd say that, in a sense, IPFS is a CDN. That's because popular content is automatically replicated to more nodes - by being cached on transit nodes and by allowing seamless and permissionless addition of replicas.

The name of this repo is probably a bit misleading.
What this tool can do is importing CDN contents to an IPFS node, replicating the directory structure with IPNS. This can e.g. allow easy transition in websites from conventional CDN paths to IPNS paths. But the IPNS part is optional. If somebody fetches e.g. a version of jquery based on its hash, it may as well be served by an IPFS node "equipped" with this file by this tool (in fact my IPFS node consumed a lot of bandwidth after I tested this tool).

The cloudflare gateway is something else again. It's basically a central gateway to IPFS.
Cloudflare itself maybe architecturally decentralized, but that's not the main point about IPFS. For a deeper understanding of the topic decentralization, I highly recommend to read https://medium.com/@VitalikButerin/the-meaning-of-decentralization-a0c92b76a274.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants