Skip to content

Cache Raw: write

Write a value item into raw cache.


Cache 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.

Cache item value

The value to cache. 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]"

Lifetime until expiry

The lifetime in seconds until the cached value is considered invalid. Set to -1 for unlimited lifetime.

Cache tags

Optionally add cache tags for fine-granular cache invalidation. Separate multiple tags with comma. More information about cache tags can be found in the documentation.

Last update: February 5, 2023 15:10:36