Comments (9)
Something I just realized:
MetaMask is using gateway.ipfs.io
in production right now: lib/ens-ipfs/setup.js#L48 :P
Having that in mind, I believe it is okay for you to go ahead with MetaMask/metamask-extension#7362 and switch those preexisting code paths to {cid}.ipfs.dweb.link
. AFAIK both gateways use the same hosting, so there won't be any difference performance-wise for anyone involved so far, but MetaMask users will get Origin-based isolation mitigating security issues described in MetaMask/metamask-extension#5724 before you figure out alternative hosting or how to use js-ipfs and run this in truly distributed fashion.
I hope this sounds ok to everyone involved.
(cc @olizilla @parkan @autonome for visibility)
from infra.
Usually we suggest running your own gateway, as .ipfs.dweb.link
is provided on best-effort basis, and we may throttle when load becomes too expensive.
@rekmarks FYSA ENS project runs a dedicated gateway at <domain>.eth.link
, which provides not only origin isolation you seek, but also keeps the human-readable ENS name in URL. ENS project should be able to share setup/configs for this too, if you choose to run your own.
Your users will have better experience if you route .eth
domains there, and use raw CID gateway such as <cid>.ipfs.dweb.link
only for non-.eth
domains.
Including people of interest, you probably want to have a chat with Chris on ENS end:
cc @chris-remus (PM @ensdomains) @parkan (IPFS collabs) @olizilla (IPFS gateway) @autonome (IPFS in web browsers)
from infra.
@lidel we merged MetaMask/metamask-extension#7362 per your previous message. We allow users to specify different CID gateways, but ipfs.dweb.link
is the default. Please let us know if anything changes on your end regarding this.
cc: @danfinlay
Edit: I'm fine with closing this issue, but feel free to leave it open for future communications.
from infra.
@lidel thank you very much for that answer. We'll plan to use <domain>.eth.link
at least in the short term. We'd love to talk to @chris-remus or whoever is appropriate at @ensdomains.
from infra.
confirming that this is probably the best option in the near term
in the longer term, I would like to gently encourage these users to consider installing companion and/or running a local node
from infra.
@danfinlay and I chatted about swapping over to using the infura gateway so they can send increased load without running into any throttling - not sure if Infura supports subdomain gateway yet?
from infra.
I don't think Infura has it yet. Cloudflare does: https://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq.ipfs.cf-ipfs.com/wiki/
FYSA setting up a subdomain gateway is more difficult than it should, namely go-ipfs should support CID in Host
header out of the box. We are tracking improvements on our end in ipfs/kubo#6498
from infra.
@egalano can you chime in on
- subdomain gateway capability today/using infura gateway here
- pathway for virtual/delegated node in the future
as per call?
from infra.
I think this ticket can be closed, as it has gone quiet. Please re-open if I'm mistaken.
from infra.
Related Issues (20)
- Binary Hosting Causes Intermittent Failure HOT 12
- Create DNSLink for en.wikipedia-on-ipfs.org HOT 2
- Circle CI not deploying blog posts HOT 3
- Missing redirect from https://archives.ipfs.io to https://awesome.ipfs.io/datasets/ HOT 1
- Enable `/api/v0/cid` at ipfs.io HOT 2
- Deprecate the SoLarnet bootstrappers HOT 3
- Install the Ajax panel in our Grafana HOT 2
- node0.preload.ipfs.io NET::ERR_CERT_COMMON_NAME_INVALID HOT 2
- 301 redirect for explorer.ipld.io → explore.ipld.io HOT 1
- *.delegate.ipfs.io NET::ERR_CERT_COMMON_NAME_INVALID
- Update dist.ipfs.io DNS HOT 2
- Update DNS for dist.ipfs.io HOT 3
- http://dweb.link shows 404 while https://dweb.link redirects HOT 3
- ERR_CONNECTION_REFUSED
- Update DNS for dist.ipfs.io
- SSL cert problems accessing dweb.link with IPNS HOT 5
- test post, please ignore.
- test post, please ignore.
- invalid variable name "\$ipfspath" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infra.