Skip to content

Cache ECA: write

Available since: 2.0.0

Write a value item into ECA cache.

Fields

Cache item value

The value to cache.
This field supports tokens.

Interpret above config value as YAML format

Nested data can be set using YAML format, for example mykey: myvalue. When using this format, this option needs to be enabled. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: title: "[node:title]"

Validate YAML to prevent this from being executed when invalid
Expiration time

The timestamp in seconds when the cached item expires. Set to -1 for unlimited lifetime.
This field supports tokens.

Cache tags

Optionally add cache tags for fine-granular cache invalidation. Separate multiple tags with commas. More information about cache tags can be found in the documentation.
This field supports tokens.

Cache backend


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

The following cache backends are available:

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

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