---
title: "get cache · RUAL Documentation"
description: "get redis cache"
canonical: https://docs.rual.nl/block-types/redis/value_redis_cache_get_key
language: en
---

# get cache

This block is part of the [`redis`](https://docs.rual.nl/block-types/redis) group and was last modified in core [`v13.0.6`](https://docs.rual.nl/core-versions/130006).

### Redis Key Selection Required

This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.

get redis cache

- Sim. `value` The value to be used when simulating this key

- value `value`

Reads an entity-scoped Redis cache value using the block's configured key template; {name:type} placeholders resolve from the block's OWN in-pins and the whole template is LOWERCASED first. During simulation a wired simulation_value is returned without touching Redis. A missing key, empty stored value, or Redis error leaves value at nil -- there is no error signal. The deprecated key pin is used only when no template is configured.

| `redis get` |
| --- |

A typical wiring for [get cache](https://docs.rual.nl/block-types/redis/value_redis_cache_get_key): [concatenate values](https://docs.rual.nl/block-types/value/value_concatenate) feeds the `key` pin; the `value` out pin feeds [is not empty](https://docs.rual.nl/block-types/condition/condition_not_empty_value).

![Studio canvas example for the get cache block: typical wiring for get cache.](https://docs.rual.nl/canvas-examples/value_redis_cache_get_key.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [is not empty](https://docs.rual.nl/block-types/condition/condition_not_empty_value): this block feeds into it. checks if the value is filled (not empty).

- [get document](https://docs.rual.nl/block-types/storage/function_get_document): this block feeds into it. get a specific document based on the given GUID.

- [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple): feeds into this block. Gets the selected fields from the given object.

- [new object](https://docs.rual.nl/block-types/object/object_new_fields): this block feeds into it. Builds a new object filled with the given fields.

- [concatenate values](https://docs.rual.nl/block-types/value/value_concatenate): feeds into this block.

### Used in these guides

These documentation pages use or explain this block:

- [Common Blueprint Patterns](https://docs.rual.nl/blueprints/common-patterns)

### Version history

Introduced in [`v11.0.0`](https://docs.rual.nl/core-versions/110000).

Last modified in [`v13.0.6`](https://docs.rual.nl/core-versions/130006).
