Caching
Last updated
Was this helpful?
Last updated
Was this helpful?
This endpoint updates the Edge Cache Expiration settings for a CDN resource. Available for small and large resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
The UUID of the organization.
The ID of the resource to update.
The UUID of the resource.
*****-*****-****-*****
The cache type, which can be either 'edge' or 'origin'.
edge
edge
, origin
The duration for which the edge cache is valid. Required when cache_type
is 'edge'.
6
The unit of the edge cache duration. Required when cache_type
is 'edge'.
d
s
, m
, h
, d
, M
This setting is available for small, large and Aksela resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
This endpoint updates the query string caching settings for a specific resource. This setting is available in small and dynamic resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
The UUID of the organization.
The UUID of the resource to update.
The UUID of the resource.
****-****-****-****
Controls query string caching behavior.
on
on
, off
, request_uri
Determines if query string caching should be ignored.
true
Indicates if caching query string parameters should be enabled.
false
List of query string parameters to ignore for caching.
["test"]
This setting is available in small, large and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enables or disables the ETag verification for the resource.
true
This endpoint updates the browser cache rules for a specific resource. A maximum of 15 rules can be defined.This setting is available in small, large and dynamic(aksela) resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
The UUID of the organization.
The UUID of the resource to update.
The UUID of the resource.
****-****-****-***
Controls whether HTML content is cached by the browser.
false
This setting is available for small, large and Aksela resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enables or disables the shared cache process. Can be 'default' or 'share'.
share
default
, share
The domain information of the resource for which shared cache will be performed.
static-test.mncdn.org
This setting is available in small and large resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Enables or disables range based caching.
true
This setting is available for small, large and dynamic resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
Defines the stale caching conditions to apply.
["error","timeout","http_503"]
This setting is available in small and large resource types.
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
UUID of the organization
UUID of the resource
UUID of the resource
Status of the robot.txt settings for the resource.
enabled
, disabled
, origin