Cache Settings
This setting is available in dynamic(aksela) resource type.
Method | URL |
---|---|
PUT | https://cloud.medianova.com/api/v1/cdn/{organization_uuid}/resource/{resource_id} |
Parameters | Description | Type | Required |
---|---|---|---|
organization_uuid | The created organization in Medianova Cloud Panel unit ID value. Path parameter. | String | Yes |
resource_uuid | The created resource in Medianova Cloud Panel unit ID value. Path parameter. | String | Yes |
cookie_base_cache_status | The values of the cookie_base_cache_status must be any of the; “true”, “false”. | Boolean | Yes |
cache_type | The values of the cache_type must be any of the; “edge”, “origin”. | String | Yes |
edge_cache_expiry | If cache_type is edge, edge_cache_expiry is entered. Edge Cache Time cannot be greater than 1 month. | Integer | Yes |
edge_cache_unit | If cache_type is edge, edge_cache_unit is entered. | String | Yes |
dynamic_page_cache | The values of the dynamic_page_cache must be any of the; “true”, “false”. The values of the Edge cache unit must be any of the; “s”, “m”, “h”, “d”, “M”. | Boolean | Yes |
Payload
{
"resource_uuid": "****-*****-****-****",
"cookie_base_cache_status": true,
"cache_type": "origin"
}
{
"resource_uuid": "****-****-****-****",
"cookie_base_cache_status": true,
"cache_type": "edge",
"edge_cache_expiry": "5",
"edge_cache_unit": "h",
"dynamic_page_cache": true
}