Lumen help
This section explains how to set up the Cache Control Header Override (CCHO).
A Cache Control Header Override setting consists of the following:
Alternately, the internal policy can be set to "as-is", "no-cache", or "no-store".
Creates a new Cache Control Group. Supports a CCHOMode object, which includes an internal and external policy identifier and an optional force attribute. (For details, see Cache Control category summary section.)
POST
{ "CacheControl": { "cchomode": { "int": "", # required "ext": "", # optional "force": ("yes" | "no" ) # optional, only applicable for ext } } } # TTL String: Integer with optional time unit (s/m/h/d/w/y). Default is seconds. # Minimum TTL is 30 seconds.
/serviceConfiguration/(version)/(scope)/ResourceGroups/(rgid)/ConfGroups/CacheControl
version [CDATA[ ]] | Values: "v1.0" (required) |
scope [CDATA[ ]] | (AG)/(SCID)[/(ALIAS)] AG = Access Group SCID = Service Component Identifier ALIAS = Optional Alias identifies Property |
{
"CacheControl": {
"cchomode": {
"int": "<TTL String>", # required
"ext": "<TTL String>", # optional
"force": ("yes" | "no" ) # optional, only applicable for ext
}
}
}
# TTL String: Integer with optional time unit (s/m/h/d/w/y). Default is seconds.
# Minimum TTL is 30 seconds.
{
"CacheControl": {
"cchomode": {
"ext": "no-store",
"force": "yes",
"int": "120m"
}
}
}
201: Created
Retrieves the cache control configuration group of a given resource group for a service component or property.
GET
https://ws.lumen.com
/serviceConfiguration/(version)/(scope)/ResourceGroups/(rgid)/ConfGroups/CacheControl
version [CDATA[ ]] | Values: "v1.0" (required) |
scope [CDATA[ ]] | (AG)/(SCID)[/(ALIAS)] AG = Access Group SCID = Service Component Identifier ALIAS = Optional Alias identifies Property |
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/test1.caching.cdn.lumen.net/ResourceGroups/videos/ConfGroups/CacheControl
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/ResourceGroups/videos/ConfGroups/CacheControl
{
"CacheControl": {
"cchomode": {
"ext": "no-store",
"force": "yes",
"int": "1234"
}
}
}
200: Request Successful.
Updates a cache control group. Note that all required attribution needs to be provided in the update body.
PUT
https://ws.lumen.com
{
"CacheControl": {
"cchomode": {
"int": ("as-is" | "no-cache" | "no-store" | "<TTL String>" ) , # required
"ext": ("as-is" | "no-cache" | "no-store" | "<TTL String>" ) , # optional
"force": ("yes" | "no" ) # optional, only applicable for ext
}
}
}
# TTL String: Integer with optional time unit (s/m/h/d/w/y)
/serviceConfiguration/(version)/(scope)/ResourceGroups/(rgid)/ConfGroups/CacheControl
version [CDATA[ ]] | Values: "v1.0" (required) |
scope [CDATA[ ]] | (AG)/(SCID)[/(ALIAS)] AG = Access Group SCID = Service Component Identifier ALIAS = Optional Alias identifies Property |
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/test1.caching.cdn.lumen.net/ResourceGroups/videos/ConfGroups/CacheControl
https://ws.lumen.com/serviceConfiguration/v1.0/1234/BBBN5678/ResourceGroups/videos/ConfGroups/CacheControl
{
"CacheControl": {
"cchomode": {
"ext": "no-cache",
"force": "yes",
"int": "120m"
}
}
}
{
"CacheControl": {
"cchomode": {
"ext": "no-store",
"force": "yes",
"int": "120m"
}
}
}
204: Success no Content.
Explore Media portal
API articles