Files
medusa-store/packages/modules/providers/caching-redis/src/index.ts
Adrien de Peretti b9d6f73320 Feat(): distributed caching (#13435)
RESOLVES CORE-1153

**What**
- This pr mainly lay the foundation the caching layer. It comes with a modules (built in memory cache) and a redis provider.
- Apply caching to few touch point to test

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2025-09-30 16:19:06 +00:00

13 lines
362 B
TypeScript

import { ModuleProvider, Modules } from "@medusajs/framework/utils"
import Connection from "./loaders/connection"
import Hash from "./loaders/hash"
import { RedisCachingProvider } from "./services/redis-cache"
const services = [RedisCachingProvider]
const loaders = [Connection, Hash]
export default ModuleProvider(Modules.CACHING, {
services,
loaders,
})