cache_cache_reserve
Creates, updates, deletes, gets or lists a cache_cache_reserve resource.
Overview
| Name | cache_cache_reserve |
| Type | Resource |
| Id | cloudflare.cache.cache_cache_reserve |
Fields
The following fields are returned by SELECT queries:
- list
Get Cache Reserve setting response.
| Name | Datatype | Description |
|---|---|---|
id | string | The identifier of the caching setting. (cache_reserve) |
editable | boolean | Whether the setting is editable. |
modified_on | string (date-time) | Last time this setting was modified. |
value | string | Value of the Cache Reserve zone setting. (on, off) (default: off) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | Increase cache lifetimes by automatically storing all cacheable files into Cloudflare's persistent object storage buckets. Requires Cache Reserve subscription. Note: using Tiered Cache with Cache Reserve is highly recommended to reduce Reserve operations costs. See the developer docs for more information. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
SELECT examples
- list
Increase cache lifetimes by automatically storing all cacheable files into Cloudflare's persistent object storage buckets. Requires Cache Reserve subscription. Note: using Tiered Cache with Cache Reserve is highly recommended to reduce Reserve operations costs. See the developer docs for more information.
SELECT
id,
editable,
modified_on,
value
FROM cloudflare.cache.cache_cache_reserve
WHERE zone_id = '{{ zone_id }}' -- required
;