Skip to content

perf: request compressed responses for the release index - #209

Merged
Kha merged 1 commit into
masterfrom
push-pynmqrvopxvn
Aug 26, 2026
Merged

perf: request compressed responses for the release index#209
Kha merged 1 commit into
masterfrom
push-pynmqrvopxvn

Conversation

@Kha

@Kha Kha commented Aug 26, 2026

Copy link
Copy Markdown
Member

fetch_url now sets CURLOPT_ACCEPT_ENCODING to the set of encodings libcurl supports, which cuts the release index transfer from ~3.7MB to ~150KB.

`fetch_url` now sets `CURLOPT_ACCEPT_ENCODING` to the set of encodings libcurl supports, which cuts the release index transfer from ~3.7MB to ~150KB. As the curl handle is shared with file downloads, those explicitly ask for `identity` so that content length and resuming keep working on the raw bytes.
@Kha
Kha merged commit 0e36a07 into master Aug 26, 2026
5 checks passed
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.

1 participant