Skip to content

crates.io: Enable compression for index.crates.io responses#1127

Closed
Turbo87 wants to merge 1 commit into
rust-lang:masterfrom
Turbo87:index-compression
Closed

crates.io: Enable compression for index.crates.io responses#1127
Turbo87 wants to merge 1 commit into
rust-lang:masterfrom
Turbo87:index-compression

Conversation

@Turbo87

@Turbo87 Turbo87 commented Jul 15, 2026

Copy link
Copy Markdown
Member

This marks complete successful GET responses for Fastly dynamic compression while keeping cached objects uncompressed.

It adds Accept-Encoding to Vary for downstream caches.

Related

This marks complete successful GET responses for Fastly dynamic compression while keeping cached objects uncompressed.

It adds `Accept-Encoding` to `Vary` for downstream caches.
@marcoieni

Copy link
Copy Markdown
Member

applied to staging 👍

@Turbo87

Turbo87 commented Jul 16, 2026

Copy link
Copy Markdown
Member Author

after testing this we've realized that the segmented caching on Fastly for index.crates.io is preventing this from working correctly. this will need a different approach unfortunately. it is still tbd what the best approach is, so I'll close this PR for now.

@Turbo87 Turbo87 closed this Jul 16, 2026
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