Skip to content

Conversation

@2color
Copy link
Member

@2color 2color commented Jan 10, 2024

Fetching from subdomain gateways like cf-ipfs.com using path resolution returns a redirection (same thing with dweb.link) for every CID. This means an additional round trip for every CID requested.

This PR changes the default gateways to their path equivalent to avoid the additional round trip.
fixes #347

@2color 2color requested a review from a team as a code owner January 10, 2024 12:20
@2color 2color changed the title Use path gateway in default gateways fix: use path gateway in default gateways Jan 10, 2024
@2color 2color requested a review from SgtPooki January 16, 2024 16:44
@2color
Copy link
Member Author

2color commented Jan 16, 2024

Blocked until ipshipyard/waterworks-community#4 is resolved.

@2color 2color added the status/blocked Unable to be worked further until needs are met label Jan 16, 2024
@SgtPooki SgtPooki added status/ready Ready to be worked and removed status/blocked Unable to be worked further until needs are met labels Jan 30, 2024
@SgtPooki
Copy link
Member

this should be ready to be merged now

@SgtPooki SgtPooki merged commit 94b0cd1 into main Jan 30, 2024
@SgtPooki SgtPooki deleted the fix-default-gateways branch January 30, 2024 23:56
@achingbrain achingbrain mentioned this pull request Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/ready Ready to be worked

Projects

No open projects
Status: 🔎 In Review
Archived in project

Development

Successfully merging this pull request may close these issues.

Trustless gateway broker should use subdomain gateway to prevent 301 roundtrips

4 participants