Cache Level functions based off the setting level. The basic setting will cache most static resources (i.e., css, images, and JavaScript). The simplified setting will ignore the query string when delivering a cached resource. The aggressive setting will cache all static resources, including ones with a query string. (https://support.cloudflare.com/hc/en-us/articles/200168256).
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/zones_cache_level",
"title": "Cloudflare Cache Level",
"allOf": [
{
"$ref": "#/components/schemas/zones_base"
},
{
"properties": {
"id": {
"description": "ID of the zone setting.",
"enum": [
"cache_level"
],
"example": "cache_level"
},
"value": {
"$ref": "#/components/schemas/zones_cache_level_value"
}
}
}
],
"description": "Cache Level functions based off the setting level. The basic setting will cache most static resources (i.e., css, images, and JavaScript). The simplified setting will ignore the query string when delivering a cached resource. The aggressive setting will cache all static resources, including ones with a query string. (https://support.cloudflare.com/hc/en-us/articles/200168256)."
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.