Caching
Updates the Edge Cache Expiration settings for a CDN resource. Available for small and large resource types.
The UUID of the organization.
The UUID of the CDN resource to update.
Edge Cache Expiration updated successfully.
Indicates whether the operation was successful.
trueUpdated CDN resource details.
{"resource_uuid":"****-****-****-****","resource_name":"test.sm","resource_type":"small","cdn_url":"test.sm.mncdn.com","cache_type":"edge","edge_cache_expiry":8,"edge_cache_unit":"d","status_browser_cache":true,"browser_cache_expiry":1,"browser_cache_unit":"origin","status_geo_blocking":false,"status_secure_token":false,"status_hl_protection":false,"ssl_status":true,"http2":true,"brotli":false,"gzip_text":false,"gzip_image":false,"image_optimization":false,"created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 103
{
"resource_uuid": "****-****-****-****",
"cache_type": "edge",
"edge_cache_expiry": 6,
"edge_cache_unit": "d"
}Edge Cache Expiration updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "test.sm",
"resource_type": "small",
"cdn_url": "test.sm.mncdn.com",
"cache_type": "edge",
"edge_cache_expiry": 8,
"edge_cache_unit": "d",
"status_browser_cache": true,
"browser_cache_expiry": 1,
"browser_cache_unit": "origin",
"status_geo_blocking": false,
"status_secure_token": false,
"status_hl_protection": false,
"ssl_status": true,
"http2": true,
"brotli": false,
"gzip_text": false,
"gzip_image": false,
"image_optimization": false,
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Updates the browser cache rules for a specific CDN resource. A maximum of 15 rules can be defined. Available for small, large, and dynamic (Aksela) resource types.
UUID of the organization.
UUID of the CDN resource to update.
UUID of the CDN resource.
****-****-****-****Controls whether HTML content is cached by the browser.
falseBrowser cache rules updated successfully.
Indicates whether the update was successful.
trueUpdated resource details after the browser cache rule update.
{"resource_uuid":"****-****-****-****","resource_name":"test.sm","cdn_url":"test.sm.mncdn.com","resource_type":"small","browser_cache_rules":[{"id":1,"type":"all_files","cache_mode":"origin","exact_match":false}],"browser_cache_with_html":false,"status_browser_cache":true,"cache_type":"edge","edge_cache_expiry":8,"edge_cache_unit":"d","ssl_status":true,"http2":true,"brotli":false,"gzip_text":false,"gzip_image":false,"image_optimization":false,"created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 749
{
"resource_uuid": "****-****-****-****",
"browser_cache_rules": [
{
"type": "all_files",
"priority": 50,
"cache_mode": "origin",
"cache_time": 0,
"directive": [],
"exact_match": false
},
{
"type": "full_path",
"content": [
"/example/images.jpg"
],
"priority": 40,
"cache_mode": "cache",
"cache_time": 60,
"directive": [
"must-revalidate",
"public",
"private"
],
"exact_match": false
},
{
"type": "directory",
"content": [
"/test",
"/test1/"
],
"priority": 100,
"cache_mode": "no_cache",
"cache_time": 0,
"directive": [],
"exact_match": false
},
{
"type": "file_extension",
"content": [
".png",
".jpg"
],
"priority": 30,
"cache_mode": "cache",
"cache_time": 30,
"directive": [
"must-revalidate",
"no-cache",
"no-store",
"no-transform",
"public",
"private",
"proxy-revalidate"
],
"exact_match": false
}
],
"browser_cache_with_html": false
}Browser cache rules updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "test.sm",
"cdn_url": "test.sm.mncdn.com",
"resource_type": "small",
"browser_cache_rules": [
{
"id": 1,
"type": "all_files",
"cache_mode": "origin",
"exact_match": false
}
],
"browser_cache_with_html": false,
"status_browser_cache": true,
"cache_type": "edge",
"edge_cache_expiry": 8,
"edge_cache_unit": "d",
"ssl_status": true,
"http2": true,
"brotli": false,
"gzip_text": false,
"gzip_image": false,
"image_optimization": false,
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Updates the Query String Caching settings for a specific CDN resource. Available for small and dynamic (Aksela) resource types.
UUID of the organization.
UUID of the CDN resource to update.
UUID of the CDN resource.
****-****-****-****Determines query string caching behavior. Options: on, off, or request_uri.
onPossible values: Specifies whether query string caching should be ignored.
trueIndicates if caching query string parameters (CQS) is enabled.
falseList of query string parameters to ignore for caching.
["test"]Query string caching settings updated successfully.
Indicates whether the update was successful.
trueUpdated CDN resource configuration.
{"resource_uuid":"****-****-****-****","resource_name":"test.sm","resource_type":"small","cdn_url":"test.sm.mncdn.com","status_qs":"on","status_qs_cache_ignore":false,"qs_cache_ignore_param":[],"status_cqs":false,"status_browser_cache":true,"browser_cache_expiry":1,"browser_cache_unit":"origin","ssl_status":true,"http2":true,"brotli":false,"gzip_text":false,"gzip_image":false,"image_optimization":false,"created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 138
{
"resource_uuid": "****-****-****-****",
"status_qs": "on",
"status_qs_cache_ignore": true,
"status_cqs": false,
"qs_cache_ignore_param": [
"test"
]
}Query string caching settings updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "test.sm",
"resource_type": "small",
"cdn_url": "test.sm.mncdn.com",
"status_qs": "on",
"status_qs_cache_ignore": false,
"qs_cache_ignore_param": [],
"status_cqs": false,
"status_browser_cache": true,
"browser_cache_expiry": 1,
"browser_cache_unit": "origin",
"ssl_status": true,
"http2": true,
"brotli": false,
"gzip_text": false,
"gzip_image": false,
"image_optimization": false,
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Updates the ETag verification status for a CDN resource. This setting is available for small, large, and dynamic (Aksela) resource types.
UUID of the organization.
UUID of the CDN resource.
Enables or disables ETag verification for the resource.
trueETag verification updated successfully.
Indicates whether the operation was successful.
trueUpdated CDN resource details.
{"resource_uuid":"****-****-****-****","resource_name":"test.sm","resource_type":"small","cdn_url":"test.sm.mncdn.com","status_etag_verification":true,"etag_verification_type":"default","ssl_status":true,"http2":true,"brotli":false,"gzip_text":false,"gzip_image":false,"image_optimization":false,"cache_type":"edge","edge_cache_expiry":8,"edge_cache_unit":"d","browser_cache_expiry":1,"browser_cache_unit":"origin","created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"status_etag_verification": true
}ETag verification updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "test.sm",
"resource_type": "small",
"cdn_url": "test.sm.mncdn.com",
"status_etag_verification": true,
"etag_verification_type": "default",
"ssl_status": true,
"http2": true,
"brotli": false,
"gzip_text": false,
"gzip_image": false,
"image_optimization": false,
"cache_type": "edge",
"edge_cache_expiry": 8,
"edge_cache_unit": "d",
"browser_cache_expiry": 1,
"browser_cache_unit": "origin",
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Updates the cache expiration duration for specific error status codes. This setting is available for small, large, and dynamic (Aksela) resource types.
UUID of the organization.
UUID of the CDN resource.
Error status code cache expiration updated successfully.
Indicates whether the update operation was successful.
trueUpdated CDN resource details after applying error cache settings.
{"resource_uuid":"****-****-****-****","resource_name":"test.sm","cdn_url":"test.sm.mncdn.com","resource_type":"small","status_code_cache":[{"status_codes":[500,501],"cache_expiry":5,"cache_unit":"m"},{"status_codes":[400],"cache_expiry":1,"cache_unit":"m"}],"ssl_status":true,"http2":true,"brotli":false,"gzip_text":false,"gzip_image":false,"image_optimization":false,"cache_type":"edge","edge_cache_expiry":8,"edge_cache_unit":"d","browser_cache_expiry":1,"browser_cache_unit":"origin","created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 141
{
"status_code_cache": [
{
"status_codes": [
500,
501
],
"cache_expiry": 5,
"cache_unit": "m"
},
{
"status_codes": [
400
],
"cache_expiry": 1,
"cache_unit": "m"
}
]
}Error status code cache expiration updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "test.sm",
"cdn_url": "test.sm.mncdn.com",
"resource_type": "small",
"status_code_cache": [
{
"status_codes": [
500,
501
],
"cache_expiry": 5,
"cache_unit": "m"
},
{
"status_codes": [
400
],
"cache_expiry": 1,
"cache_unit": "m"
}
],
"ssl_status": true,
"http2": true,
"brotli": false,
"gzip_text": false,
"gzip_image": false,
"image_optimization": false,
"cache_type": "edge",
"edge_cache_expiry": 8,
"edge_cache_unit": "d",
"browser_cache_expiry": 1,
"browser_cache_unit": "origin",
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Updates shared cache configuration for a CDN resource. This setting is available for small, large, and dynamic (Aksela) resource types.
UUID of the organization.
UUID of the CDN resource.
Determines whether the shared cache process is active. Options: default or share.
sharePossible values: Domain of the resource that participates in shared caching.
static-test.mncdn.orgShared cache settings updated successfully.
Indicates whether the update was successful.
trueUpdated CDN resource details after applying shared cache settings.
{"resource_uuid":"****-****-****-****","resource_name":"static-test.mncdn.org","resource_type":"small","cdn_url":"static-test.mncdn.org","status_share_cache":"share","share_cache":"static-test.mncdn.org","ssl_status":true,"http2":true,"created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"status_share_cache": "share",
"share_cache": "static-test.mncdn.org"
}Shared cache settings updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "static-test.mncdn.org",
"resource_type": "small",
"cdn_url": "static-test.mncdn.org",
"status_share_cache": "share",
"share_cache": "static-test.mncdn.org",
"ssl_status": true,
"http2": true,
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Updates the stale caching configuration for a CDN resource. This setting is available for small, large, and dynamic (Aksela) resource types.
UUID of the organization.
UUID of the CDN resource.
Stale caching settings updated successfully.
Indicates whether the update operation was successful.
trueUpdated CDN resource details after applying stale caching configuration.
{"resource_uuid":"****-****-****-****","resource_name":"test.sm","cdn_url":"test.sm.mncdn.com","resource_type":"small","stale_caching":["error","timeout","invalid_header","http_500","http_502","http_503","http_504"],"ssl_status":true,"http2":true,"brotli":false,"gzip_text":false,"gzip_image":false,"image_optimization":false,"cache_type":"edge","edge_cache_expiry":8,"edge_cache_unit":"d","browser_cache_expiry":1,"browser_cache_unit":"origin","created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 98
{
"stale_caching": [
"error",
"timeout",
"invalid_header",
"http_500",
"http_502",
"http_503",
"http_504"
]
}Stale caching settings updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "test.sm",
"cdn_url": "test.sm.mncdn.com",
"resource_type": "small",
"stale_caching": [
"error",
"timeout",
"invalid_header",
"http_500",
"http_502",
"http_503",
"http_504"
],
"ssl_status": true,
"http2": true,
"brotli": false,
"gzip_text": false,
"gzip_image": false,
"image_optimization": false,
"cache_type": "edge",
"edge_cache_expiry": 8,
"edge_cache_unit": "d",
"browser_cache_expiry": 1,
"browser_cache_unit": "origin",
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Updates robots.txt configuration for a CDN resource. This setting is available for small and large resource types.
UUID of the organization.
UUID of the CDN resource.
UUID of the resource.
****-****-****-****Determines the robots.txt behavior for the resource. Options: enabled, disabled, or origin.
originPossible values: Robots.txt settings updated successfully.
Indicates whether the update operation was successful.
trueUpdated CDN resource details after applying robots.txt configuration.
{"resource_uuid":"****-****-****-****","resource_name":"test.sm","cdn_url":"test.sm.mncdn.com","resource_type":"small","status_robot_txt":"origin","ssl_status":true,"http2":true,"brotli":false,"gzip_text":false,"gzip_image":false,"image_optimization":false,"cache_type":"edge","edge_cache_expiry":8,"edge_cache_unit":"d","browser_cache_expiry":1,"browser_cache_unit":"origin","created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"resource_uuid": "****-****-****-****",
"status_robot_txt": "origin"
}Robots.txt settings updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "test.sm",
"cdn_url": "test.sm.mncdn.com",
"resource_type": "small",
"status_robot_txt": "origin",
"ssl_status": true,
"http2": true,
"brotli": false,
"gzip_text": false,
"gzip_image": false,
"image_optimization": false,
"cache_type": "edge",
"edge_cache_expiry": 8,
"edge_cache_unit": "d",
"browser_cache_expiry": 1,
"browser_cache_unit": "origin",
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Updates the range-based caching configuration for a CDN resource. This setting is available for small and large resource types.
UUID of the organization.
UUID of the CDN resource.
Enables or disables range-based caching.
trueRange-based caching settings updated successfully.
Indicates whether the update operation was successful.
trueUpdated CDN resource details after applying range-based caching configuration.
{"resource_uuid":"****-****-****-****","resource_name":"test.sm","cdn_url":"test.sm.mncdn.com","resource_type":"small","status_range_based_caching":true,"range_based_caching_value":"512k","ssl_status":true,"http2":true,"brotli":false,"gzip_text":false,"gzip_image":false,"cache_type":"edge","edge_cache_expiry":8,"edge_cache_unit":"d","browser_cache_expiry":1,"browser_cache_unit":"origin","created_at":"2025-08-06T11:39:51.000000Z","updated_at":"2025-08-07T10:40:46.000000Z"}PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"status_range_based_caching": true
}Range-based caching settings updated successfully.
{
"status": true,
"data": {
"resource_uuid": "****-****-****-****",
"resource_name": "test.sm",
"cdn_url": "test.sm.mncdn.com",
"resource_type": "small",
"status_range_based_caching": true,
"range_based_caching_value": "512k",
"ssl_status": true,
"http2": true,
"brotli": false,
"gzip_text": false,
"gzip_image": false,
"cache_type": "edge",
"edge_cache_expiry": 8,
"edge_cache_unit": "d",
"browser_cache_expiry": 1,
"browser_cache_unit": "origin",
"created_at": "2025-08-06T11:39:51.000000Z",
"updated_at": "2025-08-07T10:40:46.000000Z"
}
}Last updated
Was this helpful?