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

perf: directly use codeload.github.com to reduce http redirect #4

Closed
pi0 opened this issue Sep 8, 2022 · 1 comment
Closed

perf: directly use codeload.github.com to reduce http redirect #4

pi0 opened this issue Sep 8, 2022 · 1 comment
Labels

Comments

@pi0
Copy link
Member

pi0 commented Sep 8, 2022

We could improve online performance by reducing one HTTP redirect and directly use codeload.github.com.

https://codeload.github.com/unjs/template/tar.gz/refs/heads/main

The challenge is that we must guess the ref type and change heads/ to either tags/ or commits/.

@pi0 pi0 added the idea label Sep 10, 2022
@pi0 pi0 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2023
@pi0
Copy link
Member Author

pi0 commented Oct 4, 2023

With custom URLs, this seems to be harder.

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

No branches or pull requests

1 participant