Skip to content

Fix cache control headers set for S3 uploads #2071

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

Merged
merged 1 commit into from
Jan 5, 2020

Conversation

jtgeibel
Copy link
Member

The headers intended for crates and readme uploads were swapped.

r? @smarnach

The headers intended for crates and readme uploads were swapped.
@smarnach
Copy link
Contributor

smarnach commented Jan 5, 2020

Snap, how did we manage to get this wrong? I guess I was the one who let this slip in the review.

It's a bit unfortunate the we uploaded readme files with an infinite lifetime, since they may theoretically linger around in some cache until the end of time. We should issue a CloudFront invalidation for the affected files to at least get them out of CloudFront.

@smarnach
Copy link
Contributor

smarnach commented Jan 5, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jan 5, 2020

📌 Commit 5496bfd has been approved by smarnach

bors added a commit that referenced this pull request Jan 5, 2020
Fix cache control headers set for S3 uploads

The headers intended for crates and readme uploads were swapped.

r? @smarnach
@bors
Copy link
Contributor

bors commented Jan 5, 2020

⌛ Testing commit 5496bfd with merge bed6657...

@bors
Copy link
Contributor

bors commented Jan 5, 2020

☀️ Test successful - checks-travis
Approved by: smarnach
Pushing bed6657 to master...

@bors bors merged commit 5496bfd into rust-lang:master Jan 5, 2020
@jtgeibel jtgeibel deleted the fix/swapped-cache-headers branch January 6, 2020 01:36
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.

4 participants