PurgeOptions

Classin simplecompute-sdk-cpp 0.7.0View source

Include fastly/cache/simple.h to use this class.

Options for purge operations.

Methods

global_scope

staticView source
static PurgeOptions fastly::cache::simple::PurgeOptions::global_scope()

Purge the key globally.

This requires the Fastly global purge feature to be enabled for your service. See the Fastly purge documentation for details.

Returns

pop_scope

staticView source
static PurgeOptions fastly::cache::simple::PurgeOptions::pop_scope()

Purge the key from the current POP (default behavior).

This is the default option, and allows a higher throughput of purging than purging globally.

Returns

Scope fastly::cache::simple::PurgeOptions::scope() const

Returns