npm.io
2.18.0 • Published 2 weeks ago

@medusajs/cache-redis

Licence
MIT
Version
2.18.0
Deps
1
Size
16 kB
Vulns
0
Weekly
0
Stars
35.7K

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:`)
  }
Other caching modules