Skip to content

Commit af124e6

Browse files
committed
update comment wording
1 parent 570e74b commit af124e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/web/rustdoc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,8 @@ pub fn rustdoc_html_server_handler(req: &mut Request) -> IronResult<Response> {
450450

451451
let mut response = File(blob).serve();
452452
// 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.
453+
// We want invocation specific assets cached in the CDN but not in the browser.
454+
// That way we can invalidate the CDN cache after a build.
455455
// For CDN caching the same rules should apply as for HTML files,
456456
// which means we cache slightly different for `/latest/` and
457457
// URLs with versions.

0 commit comments

Comments
 (0)