Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::cache::simple::PurgeOptions Class Reference

Options for purge operations. More...

#include <simple.h>

Public Types

enum  Scope { Pop , Global }

Public Member Functions

Scope scope () const

Static Public Member Functions

static PurgeOptions pop_scope ()
static PurgeOptions global_scope ()

Detailed Description

Options for purge operations.

Member Enumeration Documentation

◆ Scope

Enumerator
Pop 

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

Global 

Purge the key globally (requires additional Fastly configuration).

Member Function Documentation

◆ global_scope()

PurgeOptions fastly::cache::simple::PurgeOptions::global_scope ( )
inlinestatic

Purge the key globally.

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

◆ pop_scope()

PurgeOptions fastly::cache::simple::PurgeOptions::pop_scope ( )
inlinestatic

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

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

◆ scope()

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

The documentation for this class was generated from the following file: