Purge cache by URLs
Last updated
Last updated
POST
https://app.ismartframe.com/api/v1/cache/purge/
If you are using the 'Cache By Country' feature on your website, it will be necessary to include the country code as an extra parameter in the request body.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Cache purge successful. This operation may take a few minutes to propagate across all data centers.
When our systems cache a page, they do that for the specific device type (mobile, desktop, bot...) responsible for initiating the rendering of the web page. This API facilitates the removal of all cache versions (spanning across all device types) associated with a specific page. It strictly processes URLs, meaning that, supposing you furnish '/' as one of the URLs, it will exclusively purge the home page of your website, leaving the rest of your website's cache unaffected. If you want to purge cache based on patterns, you should define tags.
api_key*
String
Your API Key
url*
Array of strings
List of URLs requiring a cache purge. URLs must be relative (e.g., /test), thereby excluding the website's domain.
country
String
ISO 3166-1 alpha-2 Country Code