Files
medusa-store/packages/modules/cache-redis
Adrien de Peretti 48963f55ef Chore/rm main entity concept (#7709)
**What**
Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate.
This pr also includes various fixes in different modules

Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-06-19 13:02:16 +00:00
..
2024-05-02 15:33:34 +00:00
2024-05-02 15:33:34 +00:00
2024-05-02 15:33:34 +00:00
2024-05-14 08:07:14 -03:00

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