breaking: move shared HTTP utils to the framework (#9402)
Fixes: FRMW-2728, FRMW-2729 After this PR gets merged the following middleware will be exported from the `@medusajs/framework/http` import path. - applyParamsAsFilters - clearFiltersByKey - applyDefaultFilters - setContext - getQueryConfig - httpCompression - maybeApplyLinkFilter - refetchEntities - unlessPath - validateBody - validateQuery Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com>
This commit is contained in:
@@ -13,14 +13,15 @@ yarn add @medusajs/cache-redis
|
||||
```
|
||||
{
|
||||
ttl?: number // Time to keep data in cache (in seconds)
|
||||
|
||||
|
||||
redisUrl?: string // Redis instance connection string
|
||||
|
||||
|
||||
redisOptions?: RedisOptions // Redis client options
|
||||
|
||||
|
||||
namespace?: string // Prefix for event keys (the default is `medusa:`)
|
||||
}
|
||||
```
|
||||
|
||||
### Other caching modules
|
||||
|
||||
- [Medusa Cache In-Memory](../cache-inmemory/README.md)
|
||||
|
||||
Reference in New Issue
Block a user