JSPM

@medusajs/cache-redis

1.9.2-preview-20240715180543
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23471
  • Score
    100M100P100Q144994F
  • License MIT

Redis Cache Module for Medusa

Package Exports

  • @medusajs/cache-redis
  • @medusajs/cache-redis/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@medusajs/cache-redis) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Medusa Cache Redis

Use Redis as a Medusa cache store.

Installation

yarn add @medusajs/cache-redis

Options

   {
      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