-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
chore(http): replace images w/ shared-assets #37643
base: main
Are you sure you want to change the base?
Conversation
Preview URLs (comment last updated: 2025-01-15 10:00:49) |
@@ -72,7 +72,7 @@ That means if a managed cache intentionally ignores a `no-store` directive, ther | |||
|
|||
Note that some CDNs provide their own headers that are effective only for that CDN (for example, `Surrogate-Control`). Currently, work is underway to define a [`CDN-Cache-Control`](https://httpwg.org/specs/rfc9213.html) header to standardize those. | |||
|
|||
![Type of Cache](type-of-cache.png) | |||
![Type of Cache](https://mdn.github.io/shared-assets/images/diagrams/http/cache/type-of-cache.svg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![Type of Cache](https://mdn.github.io/shared-assets/images/diagrams/http/cache/type-of-cache.svg) | |
![Types of caches, including a private cache in the browser, a shared (proxy) cache, a reverse proxy cache, and a shared (managed) cache in a CDN, leading to the origin server's cache](https://mdn.github.io/shared-assets/images/diagrams/http/cache/type-of-cache.svg) |
@@ -481,7 +481,7 @@ Request collapse occurs when requests are arriving at the same time, so even if | |||
|
|||
If the response is personalized to a particular user and you do not want it to be shared in collapse, you should add the `private` directive: | |||
|
|||
![Request Collapse](request-collapse.png) | |||
![Request Collapse](https://mdn.github.io/shared-assets/images/diagrams/http/cache/request-collapse.svg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![Request Collapse](https://mdn.github.io/shared-assets/images/diagrams/http/cache/request-collapse.svg) | |
![Request collapse shown as multiple clients sending GET requests and a cache consolidating them into one GET to the origin. The origin server responds with a 200 OK that the cache shares back to all clients.](https://mdn.github.io/shared-assets/images/diagrams/http/cache/request-collapse.svg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much better, thanks. Two comments about alt text to look at, but +1 and fine to merge when you're ready
Hi @Jxck. Thanks for the PR. You may find https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/alt helpful. |
Description
replace png images in caching section w/ shared-assets svg
Related issues and pull requests
Depends on: