**What** Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate. This pr also includes various fixes in different modules Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
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.