Files
medusa-store/packages/cache-inmemory
Carlos R. L. Rodrigues 5a8a889c6d feat(modules-sdk): Remote Query (#4463)
* feat: Remote Query
2023-07-19 15:35:36 -03:00
..

Medusa Cache In-memory

Medusa in-memory cache module. Use plain JS Map as a cache store.

Installation

yarn add @medusajs/cache-inmemory

Options

{
  ttl?: number // Time to keep data in cache (in seconds)
}

Note

Recommended for testing and development. For production, use Redis cache module.

Other caching modules