Redis Plugin

Provides RedisCache, which caches variant images and metadata using the Redis data structure store.

Unlike most other caches, cache policy is configured on the Redis side, and cache.server.variant.ttl_seconds has no effect with this cache. Likewise, if enabled, the cache worker will remain idle.
All caches except RedisCache will automatically furnish information used to generate a Last-Modified response header. With RedisCache, it's only set when Redis' maxmemory-policy configuration directive is not set to one of the LFU policies.

Installation

Step 1: Install the plugin

Use the plugin installer:

bin/install_plugin.sh galia-plugin-redis

Alternatively, download the plugin directly and extract it into Galia's plugins directory.

Step 2: Configure the plugin

Copy the keys from config.yml.sample into your application configuration file and fill them in.

Step 2: Enable RedisCache

Tell Galia to use RedisCache as the variant cache and/or info cache by editing the following keys in your application configuration file:

cache.server.variant.enabled: true
cache.server.variant.implementation: RedisCache

cache.server.info.enabled: true
cache.server.info.implementation: RedisCache