How to use cache in NestJS with Redis Registering the cache manager. Auto-caching responses. Injecting the cache manager. Add some type safety with generics. Redis setup and configs. Use Docker compose for local Redis server. Use environment variables with the config module. Using Redis in production with NestJS. Jul 21, 2022