Skip to content

Cache ECA: invalidate

Plugin ID: eca_cache_invalidate

Available since: 2.0.0

Invalidates a part or the whole ECA cache.

Fields

Cache tags — config key: tags

Optionally define cache tags for fine-granular cache invalidation. Separate multiple tags with commas. More information about cache tags can be found in the documentation. When empty, then the whole cache is being invalidated.
This field supports tokens.

Type: textarea · Required: no · Default: empty string

Cache backend — config key: backend


When using the "Defined by token" option, make sure there is a token with this name: eca_cache_invalidate_backend

Type: select · Required: yes · Default: eca_default

Allowed values: eca_default, eca_memory, eca_chained, _eca_token

The following cache backends are available:

  • default shared cache
  • runtime in-memory cache
  • chained cache (in-memory plus shared)
Cache key — config key: key

The cache key is a unique machine name and identifies the cache item.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string