Put in order · NestJS course · Module 8: Caching and Performance

Redis Configuration

Arrange the steps for configuring Redis cache in NestJS:

Items to put in order

  • Inject CACHE_MANAGER in the service
  • Configure CacheModule with Redis store
  • Use cache.get() and cache.set() with keys
  • Install packages: cache-manager-redis-store

You can check the correct answer by solving this task in the CodeWorlds game.