redis

Use a Redis instance as a cache. The expiration can be set to zero or an empty string in order to set no expiration.

redis:
url: tcp://localhost:6379
prefix: ""
expiration: 24h

Fields

url

string The URL of the target Redis server.

prefix

string An optional string to prefix item keys with in order to prevent collisions with similar services.

expiration

string An optional period after which cached items will expire.

retries

number The maximum number of retry attempts to make before abandoning a request.

retry_period

string The duration to wait between retry attempts.