Skip to content

Cache Clear Interceptor

Marcelo Aguiar Rodrigues edited this page Nov 1, 2018 · 2 revisions

Definition

When using the Cache Interceptor you might want clear the cache, this is when the Cache Clear Interceptor is useful. Informing the cache name created with the Cache Interceptor this will delete any cache associated with it.

Details

Cache Clear

Name: Simple name for your interceptor

Description: A simple description for your interceptor

Life Cycle: The appropriate life cycle for the interceptor

  • Life cycles allowed:
    • Api
    • Plan
    • Resource
    • Operation

Content: Configuration of the interceptor

JSON example:

{
  "cache": "cache-name"
}

cache: name of the cache you want to be cleared

Clone this wiki locally