You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add note about minimum_file_size for configuring cache reserve in cache rule
* Moved note inside API information.
---------
Co-authored-by: anthocf <[email protected]>
Copy file name to clipboardExpand all lines: src/content/docs/cache/how-to/cache-rules/settings.mdx
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,7 +246,6 @@ This rule can also be used to specify Cache Reserve eligibility for website reso
246
246
Cloudflare will still enforce the plan-based [cacheable file limits](/cache/concepts/default-cache-behavior/#customization-options-and-limits) when using this configuration.
247
247
:::
248
248
249
-
250
249
<Detailsheader="API information">
251
250
252
251
API configuration object name: `"cache_reserve"`.
@@ -263,6 +262,10 @@ API property name for enabling Cache Reserve: `"eligible"` (boolean).
263
262
}
264
263
```
265
264
265
+
:::note
266
+
If `minimum_file_size` is omitted and `eligible` is true, Cloudflare will use 0 bytes by default.
267
+
:::
268
+
266
269
Refer to [Create a cache rule via API](/cache/how-to/cache-rules/create-api/#example-requests) for complete API examples.
0 commit comments