Skip to content

Commit 52f9018

Browse files
angelampcostaanthocf
authored andcommitted
Cache reserve min file size update (#17457)
* Add note about minimum_file_size for configuring cache reserve in cache rule * Moved note inside API information. --------- Co-authored-by: anthocf <[email protected]>
1 parent 85e9488 commit 52f9018

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/content/docs/cache/how-to/cache-rules/settings.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ This rule can also be used to specify Cache Reserve eligibility for website reso
246246
Cloudflare will still enforce the plan-based [cacheable file limits](/cache/concepts/default-cache-behavior/#customization-options-and-limits) when using this configuration.
247247
:::
248248

249-
250249
<Details header="API information">
251250

252251
API configuration object name: `"cache_reserve"`.
@@ -263,6 +262,10 @@ API property name for enabling Cache Reserve: `"eligible"` (boolean).
263262
}
264263
```
265264

265+
:::note
266+
If `minimum_file_size` is omitted and `eligible` is true, Cloudflare will use 0 bytes by default.
267+
:::
268+
266269
Refer to [Create a cache rule via API](/cache/how-to/cache-rules/create-api/#example-requests) for complete API examples.
267270

268271

0 commit comments

Comments
 (0)