Skip to content

Commit b53e30d

Browse files
Create and apply partial for cache-reserve-eligibility
1 parent dedeb04 commit b53e30d

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

src/content/docs/cache/advanced-configuration/cache-reserve.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,7 @@ If you are an Enterprise customer and are interested in Cache Reserve, contact y
4141

4242
## Cache Reserve asset eligibility
4343

44-
Not all assets are eligible for Cache Reserve. To be admitted into Cache Reserve, assets must:
45-
46-
- Be cacheable, according to Cloudflare's standard [cacheability factors](/cache),
47-
- Have a freshness time-to-live (TTL) of at least 10 hours (set by any means such as Cache-Control / [CDN-Cache-Control](/cache/concepts/cache-control/) origin response headers, [Edge Cache TTL](/cache/how-to/edge-browser-cache-ttl/#edge-cache-ttl), [Cache TTL By Status](/cache/how-to/configure-cache-status-code/), or [Cache Rules](/cache/how-to/cache-rules/)),
48-
- Have a Content-Length response header.
49-
- When using [Image transformations](/images/manage-images/create-variants/), original files are eligible for Cache Reserve, but resized file variants are not eligible because transformations happen after Cache Reserve in the response flow.
44+
<Render file="cache-reserve-eligibility" product="smart-shield" />
5045

5146
## Limits
5247

src/content/docs/smart-shield/configuration/cache-reserve.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,11 @@ import { Render } from "~/components";
1111
Available with Smart Shield Advanced.
1212
:::
1313

14-
<Render file="cache-reserve-intro" product="smart-shield" />
14+
<Render file="cache-reserve-intro" product="smart-shield" />
15+
16+
## Asset eligibility
17+
18+
<Render file="cache-reserve-eligibility" product="smart-shield" />
19+
20+
## Limits
21+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
{}
3+
---
4+
5+
Not all assets are eligible for Cache Reserve. To be admitted into Cache Reserve, assets must:
6+
7+
- Be cacheable, according to Cloudflare's standard [cacheability factors](/cache/).
8+
- Have a freshness time-to-live (TTL) of at least 10 hours (set by any means such as Cache-Control / [CDN-Cache-Control](/cache/concepts/cache-control/) origin response headers, [Edge Cache TTL](/cache/how-to/edge-browser-cache-ttl/#edge-cache-ttl), [Cache TTL By Status](/cache/how-to/configure-cache-status-code/), or [Cache Rules](/cache/how-to/cache-rules/)),
9+
- Have a Content-Length response header.
10+
- When using [Image transformations](/images/manage-images/create-variants/), original files are eligible for Cache Reserve, but resized file variants are not eligible because transformations happen after Cache Reserve in the response flow.

0 commit comments

Comments
 (0)