Files
medusa-store/packages/modules/cache-inmemory
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-05-02 15:33:34 +00:00
2024-05-14 08:07:14 -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