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

is dnslink and ipfs is supposed to be slow at the first load time? #8476

Closed
3 tasks done
dongnguyenattrace opened this issue Oct 1, 2021 · 4 comments
Closed
3 tasks done
Labels
kind/enhancement A net-new feature or improvement to an existing feature

Comments

@dongnguyenattrace
Copy link

Checklist

  • My issue is specific & actionable.
  • I am not suggesting a protocol enhancement.
  • I have searched on the issue tracker for my issue.

Description

Every time I uploaded my website to ipfs (with new CID generated), then I open the uploaded website, it is very slow to load and some js files return 404/524 status. After some tries, it loads normally again.

I'm using DNS link with Cloudflare IPFS gateway
pining service: infura
gateway: cloudflare-ipfs.com

is DNS link and IPFS is supposed to be slow at the first load time?

@dongnguyenattrace dongnguyenattrace added the kind/enhancement A net-new feature or improvement to an existing feature label Oct 1, 2021
@welcome
Copy link

welcome bot commented Oct 1, 2021

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@Stebalien
Copy link
Member

  1. It can take some time to advertise content on the network.
  2. DNS propagation can take minutes. That's not something we can fix.

What's your DNS TTL?

@dongnguyen9186
Copy link

@Stebalien
Sorry but now it is still very slow(I've deployed to ipfs and config hash in DNSLink in TXT record in the last 24hours). My site was fast in the last few weeks, it has downtime but just 1min-5min to be fast on the first try. I don't think it is a DNS TTL thing, I set it auto every time.

some problems:

@Stebalien
Copy link
Member

It is always slow until I open it the first time, after some days, it sometimes very slow to load
Is it because cloudflare gateway or ipfs thing?

Once you load it once, it'll get "cached" on the gateway. I assume the gateway in question garbage collects once every few days at least, which means the next attempt to load it will have to fetch it.

Now, I have no idea why loading inside infura is slow the first time, you'd have to ask them. But in general, public gateways aren't going to highly reliable. See #6383.

Unfortunately, I don't think there's anything we can do to help with this directly (other than to just keep on trying to make IPFS faster and more reliable).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants