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

add CDN caching to HTML partials for releases & platforms #2272

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

syphar
Copy link
Member

@syphar syphar commented Oct 14, 2023

This was added in (I think) #2181 and #2113 , and we didn't add any caching headers.

ForeverInCdn is the policy that will never cache in the browser, but will cache in the CDN forever.

Since the paths are below the /:krate/ or /crate/:krate/ prefix, they will be invalidated after each release.

@syphar
Copy link
Member Author

syphar commented Oct 14, 2023

r? @GuillaumeGomez

@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Oct 14, 2023
@GuillaumeGomez
Copy link
Member

Looks good to me, thanks!

@syphar syphar merged commit dc0b434 into rust-lang:master Oct 18, 2023
8 checks passed
@syphar syphar deleted the cache-version-and-platform-list branch October 18, 2023 12:45
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Oct 18, 2023
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Oct 19, 2023
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