Module fastly_api::apis::purge_api
source · Structs
struct for passing parameters to the method
bulk_purge_tag
struct for passing parameters to the method
purge_all
struct for passing parameters to the method
purge_single_url
struct for passing parameters to the method
purge_tag
Enums
struct for typed errors of method
bulk_purge_tag
struct for typed errors of method
purge_all
struct for typed errors of method
purge_single_url
struct for typed errors of method
purge_tag
Functions
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
. 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. Instant Purge an individual URL.
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.