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

2.1.3 • Public • Published

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

/@medusajs/cache-inmemory/

    Package Sidebar

    Install

    npm i @medusajs/cache-inmemory

    Weekly Downloads

    17,837

    Version

    2.1.3

    License

    MIT

    Unpacked Size

    13.8 kB

    Total Files

    23

    Last publish

    Collaborators

    • sebrindom
    • oliverjuhl