Files
medusa-store/packages/modules/cache-redis
Riqwan Thamir 03924a4ff6 chore: move to swc/jest (#7739)
* chore: move to swc

* chore: fix tax rate tests

* chore: undo failed test

* chore: fix unit tests script

* chore: use node 20

* Update scripts/run-workspace-unit-tests-in-chunks.sh
2024-06-20 12:59:33 +02:00
..
2024-05-02 15:33:34 +00:00
2024-05-02 15:33:34 +00:00
2024-06-20 12:59:33 +02:00
2024-06-20 12:59:33 +02: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