Purging Cache - Clickio CDN

Clickio CDN is designed to intelligently cache your content. In most cases, manual control is not required. However, you can always purge cache using methods described below.

1) GET-parameter ?lx_force_nocache=1

To flush cache of a single page, adding ?lx_force_nocache=1 parameter to the URL

Example: https://domain.com/category/page15?lx_force_nocache=1

2) Clickio CDN Purge API
curl -X POST https://all.stage.clickio.com/clickioUtils/clearUrlSyncBatch/ \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer %secret_token%' \
-d '[
{
"daemon": "Master",
"domain": "domain.com",
"url": "/path/to/page/",
"desktop": 1,
"mobile": 1
},
{
"daemon": "Master",
"domain": "domain.com",
"url": "/path/to/second/page/",
"desktop": 1,
"mobile": 1
}

]'
  • Get "secret_token" from your Clickio account manager
  • Replace "domain.com" with your domain name
  • Replace "/path/to/page/" with a page path
  • Multiple pages can be purged at once
Back to top