JSPM

@medusajs/cache-inmemory

3.0.0-snapshot-20250410112222
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23749
  • Score
    100M100P100Q150212F
  • License MIT

In-memory Cache Module for Medusa

Package Exports

  • @medusajs/cache-inmemory
  • @medusajs/cache-inmemory/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@medusajs/cache-inmemory) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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