Module purge_api

Source

Structs§

BulkPurgeTagParams
struct for passing parameters to the method bulk_purge_tag
PurgeAllParams
struct for passing parameters to the method purge_all
PurgeSingleUrlParams
struct for passing parameters to the method purge_single_url
PurgeTagParams
struct for passing parameters to the method purge_tag

Enums§

BulkPurgeTagError
struct for typed errors of method bulk_purge_tag
PurgeAllError
struct for typed errors of method purge_all
PurgeSingleUrlError
struct for typed errors of method purge_single_url
PurgeTagError
struct for typed errors of method purge_tag

Functions§

bulk_purge_tag
Instant Purge a particular service of items tagged with surrogate keys. Up to 256 surrogate keys can be purged in one batch request. As an alternative to sending the keys in a JSON object in the body of the request, this endpoint also supports listing keys in a Surrogate-Key request header, e.g. Surrogate-Key: key_1 key_2 key_3.
purge_all
Instant Purge everything from a service. Purge-all requests cannot be done in soft mode and will always immediately invalidate all cached content associated with the service. To do a soft-purge-all, consider applying a constant surrogate key tag (e.g., \"all\") to all objects.
purge_single_url
Instant Purge an individual URL.
purge_tag
Instant Purge a particular service of items tagged with a Surrogate Key. Only one surrogate key can be purged at a time. Multiple keys can be purged using a batch surrogate key purge request.