diff --git a/src/content/docs/cache/concepts/cache-control.mdx b/src/content/docs/cache/concepts/cache-control.mdx index 404fbbf61b30f7..4bc283042f2fa6 100644 --- a/src/content/docs/cache/concepts/cache-control.mdx +++ b/src/content/docs/cache/concepts/cache-control.mdx @@ -101,130 +101,19 @@ The following section covers the directives and behavioral conditions associated The table below lists directives and their behaviors when Origin Cache Control is disabled and when it is enabled. -
| - Directive - | -- Origin Cache Control disabled behavior - | -- Origin Cache Control enabled behavior - | -||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- s-maxage=0
- |
- - Will not cache. - | -- Caches and always revalidates - | -||||||||||||
- max-age=0
- |
- - Will not cache. - | -- Caches and always revalidates. - | -||||||||||||
- no-cache
- |
- - Will not cache. - | -- Caches and always revalidates. Does not serve stale. - | -||||||||||||
- no-cache=<headers>
- |
- - Will not cache. - | -
- Caches if headers mentioned in no-cache=<headers> do not exist. Always
- revalidates if any header mentioned in no-cache=<headers> is present.
- |
- ||||||||||||
- Private=<headers>
- |
- - Will not cache. - | -
- Does not cache <headers> values mentioned in Private=<headers> directive.
- |
- ||||||||||||
- must-revalidate
- |
- - Cache directive is ignored and stale is served. - | -- Does not serve stale. Must revalidate for CDN and for browser. - | -||||||||||||
- proxy-revalidate
- |
- - Cache directive is ignored and stale is served. - | -- Does not serve stale. Must revalidate for CDN but not for browser. - | -||||||||||||
- no-transform
- |
- - May (un)Gzip, Polish, email filter, etc. - | -- Does not transform body. - | -||||||||||||
- s-maxage=delta, delta>1
- |
-
- Same as max-age.
- |
-
- Max-age and proxy-revalidate.
- |
- ||||||||||||
- immutable
- |
- - Not proxied downstream. - | -- Proxied downstream. Browser facing, does not impact caching proxies. - | -