@medusajs/cache-redis
TypeScript icon, indicating that this package has built-in type declarations

1.9.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @medusajs/cache-redis

Weekly Downloads

28,124

Version

1.9.1

License

MIT

Unpacked Size

25 kB

Total Files

20

Last publish

Collaborators

  • sebrindom
  • oliverjuhl