Skip to content

Render: cacheability

Plugin ID: eca_render_cacheability

Available since: 1.1.0

Add cacheability metadata to a render array. Only works when reacting upon a rendering event, such as "Build form" or "Build ECA Block".

Fields

Type — config key: cache_type

Click here to get more info about cacheability metadata.
When using the "Defined by token" option, make sure there is a token with this name: eca_render_cacheability_cache_type

Type: select · Required: yes · Default: tags

Allowed values: tags, contexts, max-age, _eca_token

Value — config key: cache_value

Separate multiple values with commas. When using Max age, the value must be a valid number (integer).
This field supports tokens.

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