Skip to content

Conversation

jsha
Copy link
Contributor

@jsha jsha commented Feb 4, 2023

In #108, @Mark-Simulacrum rightly pointed out that it would be better for rustdoc's static files to have hashes in the name, so we can confidently cache them immutably, knowing that if the contents ever change, the filename will also change.

That work is done in rust-lang/rust#98413, and all of stable, beta, and nightly docs have been built with that change. Also as part of the change, all static files are served from a separate directory, static.files/, so we know that any files in that directory may be cached immutably.

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