Package Exports
- @medusajs/cache-redis
- @medusajs/cache-redis/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@medusajs/cache-redis) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Medusa Cache Redis
Use Redis as a Medusa cache store.
Installation
yarn add @medusajs/cache-redis
Options
{
ttl?: number // Time to keep data in cache (in seconds)
redisUrl?: string // Redis instance connection string
redisOptions?: RedisOptions // Redis client options
namespace?: string // Prefix for event keys (the default is `medusa:`)
}