We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 570e74b commit af124e6Copy full SHA for af124e6
src/web/rustdoc.rs
@@ -450,8 +450,8 @@ pub fn rustdoc_html_server_handler(req: &mut Request) -> IronResult<Response> {
450
451
let mut response = File(blob).serve();
452
// default asset caching behaviour is `Cache::ForeverInCdnAndBrowser`.
453
- // We don't want to cache invocation specific assets in the browser
454
- // but only in the CDN so we can invalidate these after a build.
+ // We want invocation specific assets cached in the CDN but not in the browser.
+ // That way we can invalidate the CDN cache after a build.
455
// For CDN caching the same rules should apply as for HTML files,
456
// which means we cache slightly different for `/latest/` and
457
// URLs with versions.
0 commit comments