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>
This commit is contained in:
co-authored by
Carlos R. L. Rodrigues
parent
5b135a41fe
commit
b9d6f73320
@@ -0,0 +1,6 @@
|
||||
import RedisCachingProvider from "@medusajs/caching-redis"
|
||||
|
||||
export * from "@medusajs/caching-redis"
|
||||
|
||||
export default RedisCachingProvider
|
||||
export const discoveryPath = require.resolve("@medusajs/caching-redis")
|
||||
@@ -0,0 +1,6 @@
|
||||
import CacheModule from "@medusajs/caching"
|
||||
|
||||
export * from "@medusajs/caching"
|
||||
|
||||
export default CacheModule
|
||||
export const discoveryPath = require.resolve("@medusajs/caching")
|
||||
Reference in New Issue
Block a user