API Management
13.2 13.1 13.0 12.2 12.1 12.0 11.0
13.2 13.1 13.0 12.2 12.1 12.0 11.0

Invalidate Cache

Contents

The policy configures how the cached values should be purged from the cache. The data matching the key specified will be purged. This policy provides an option to purge the cache populated using the Populate Cache policy based on conditions.

Configuration

The properties that have to be configured to use this policy are described below.

CacheInvalidate.jpg
Figure 1: Invalidate Cache Policy Configuration attributes

Property

Description

Cache Name

The name of the cache in which the entry resides.

Key

The

part

of the message or a constant which identifies the key whose value has to be made unavailable from the cache.

Delete Cache

Enable this property to delete a cache entirely.

Example

Refer to the example Invoking OAuth and Caching Access Tokens for a Use Case where this policy has been used.