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

2.1.1 • 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

Readme

Keywords

none

Package Sidebar

Install

npm i @medusajs/cache-inmemory

Weekly Downloads

28,484

Version

2.1.1

License

MIT

Unpacked Size

13.8 kB

Total Files

23

Last publish

Collaborators

  • sebrindom
  • oliverjuhl