RedisCachePlugin
RedisCachePlugin
This plugin provides a Redis-based RedisCacheStrategy which stores cached items in a Redis instance. This is a high-performance cache strategy which is suitable for production use, and is a drop-in replacement for the DefaultCachePlugin.
Signature
class RedisCachePlugin {
static options: RedisCachePluginInitOptions = {
maxItemSizeInBytes: 128_000,
redisOptions: {},
namespace: 'vendure-cache',
};
init(options: RedisCachePluginInitOptions) => ;
}