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

feat: use cloudflare snapshot as the primary url #1531

Merged
merged 5 commits into from
Feb 27, 2024

Conversation

thesayyn
Copy link
Collaborator

Upon my experiments with this, after the first download from the cloudflare snapshot, the subsequent downloads were 30x faster. According to the headers sent by Cloudflare proxy, the TTL for cache is 31536000 which is basically forever.

/ Risks
There are no risks to doing this as the fallback to origin server is still there, in case cloudflare mirror goes down (not likely unless they shut it down.). Also the deb packages are checked against the checksum so there's no risk of tampering.

This is going to take CI time down significantly.

@thesayyn
Copy link
Collaborator Author

@loosebazooka
Copy link
Member

nice, this is awesome.

@loosebazooka loosebazooka merged commit a1b13f5 into main Feb 27, 2024
11 checks passed
@loosebazooka loosebazooka deleted the cloudflare_snapshot branch February 27, 2024 14:22
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

Successfully merging this pull request may close these issues.

2 participants