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:
committed by
GitHub
parent
5b135a41fe
commit
b9d6f73320
64
yarn.lock
64
yarn.lock
@@ -6217,6 +6217,44 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@medusajs/caching-redis@2.10.3, @medusajs/caching-redis@workspace:packages/modules/providers/caching-redis":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@medusajs/caching-redis@workspace:packages/modules/providers/caching-redis"
|
||||
dependencies:
|
||||
"@medusajs/framework": 2.10.3
|
||||
"@swc/core": ^1.7.28
|
||||
"@swc/jest": ^0.2.36
|
||||
ioredis: ^5.4.1
|
||||
jest: ^29.7.0
|
||||
rimraf: ^5.0.1
|
||||
typescript: ^5.6.2
|
||||
xxhash-wasm: ^1.1.0
|
||||
peerDependencies:
|
||||
"@medusajs/framework": 2.10.3
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@medusajs/caching@2.10.3, @medusajs/caching@workspace:*, @medusajs/caching@workspace:packages/modules/caching":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@medusajs/caching@workspace:packages/modules/caching"
|
||||
dependencies:
|
||||
"@medusajs/framework": 2.10.3
|
||||
"@medusajs/test-utils": 2.10.3
|
||||
"@swc/core": ^1.7.28
|
||||
"@swc/jest": ^0.2.36
|
||||
fast-json-stable-stringify: ^2.1.0
|
||||
jest: ^29.7.0
|
||||
node-cache: ^5.1.2
|
||||
rimraf: ^3.0.2
|
||||
tsc-alias: ^1.8.6
|
||||
typescript: ^5.6.2
|
||||
xxhash-wasm: ^1.1.0
|
||||
peerDependencies:
|
||||
"@medusajs/framework": 2.10.3
|
||||
awilix: ^8.0.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@medusajs/cart@2.10.3, @medusajs/cart@workspace:packages/modules/cart":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@medusajs/cart@workspace:packages/modules/cart"
|
||||
@@ -6823,6 +6861,8 @@ __metadata:
|
||||
"@medusajs/auth-google": 2.10.3
|
||||
"@medusajs/cache-inmemory": 2.10.3
|
||||
"@medusajs/cache-redis": 2.10.3
|
||||
"@medusajs/caching": 2.10.3
|
||||
"@medusajs/caching-redis": 2.10.3
|
||||
"@medusajs/cart": 2.10.3
|
||||
"@medusajs/core-flows": 2.10.3
|
||||
"@medusajs/currency": 2.10.3
|
||||
@@ -18598,6 +18638,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"clone@npm:2.x":
|
||||
version: 2.1.2
|
||||
resolution: "clone@npm:2.1.2"
|
||||
checksum: ed0601cd0b1606bc7d82ee7175b97e68d1dd9b91fd1250a3617b38d34a095f8ee0431d40a1a611122dcccb4f93295b4fdb94942aa763392b5fe44effa50c2d5e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"clone@npm:^1.0.2":
|
||||
version: 1.0.4
|
||||
resolution: "clone@npm:1.0.4"
|
||||
@@ -24172,6 +24219,7 @@ __metadata:
|
||||
"@medusajs/api-key": "workspace:^"
|
||||
"@medusajs/auth": "workspace:*"
|
||||
"@medusajs/cache-inmemory": "workspace:*"
|
||||
"@medusajs/caching": "workspace:*"
|
||||
"@medusajs/core-flows": "workspace:^"
|
||||
"@medusajs/currency": "workspace:^"
|
||||
"@medusajs/customer": "workspace:^"
|
||||
@@ -27809,6 +27857,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"node-cache@npm:^5.1.2":
|
||||
version: 5.1.2
|
||||
resolution: "node-cache@npm:5.1.2"
|
||||
dependencies:
|
||||
clone: 2.x
|
||||
checksum: 2f91907510a1276415ae5898269d0765934d5a4f3682c8b1b19964694a9b841c8bd791e1a125d1f89050f412e1da5dd982179d714252b3a7223abb05b8cb24d5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"node-domexception@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "node-domexception@npm:1.0.0"
|
||||
@@ -36325,6 +36382,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"xxhash-wasm@npm:^1.1.0":
|
||||
version: 1.1.0
|
||||
resolution: "xxhash-wasm@npm:1.1.0"
|
||||
checksum: 35aa152fc7d775ae13364fe4fb20ebd89c6ac1f56cdb6060a6d2f1ed68d15180694467e63a4adb3d11936a4798ccd75a540979070e70d9b911e9981bbdd9cea6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"y18n@npm:^4.0.0":
|
||||
version: 4.0.3
|
||||
resolution: "y18n@npm:4.0.3"
|
||||
|
||||
Reference in New Issue
Block a user