![Redis logo](/img/1/redis-cube-red_white-rgb_1706358822819.png?w=800)
![Redis logo](/img/1/redis-cube-red_white-rgb_1706358822819.png?w=192)
Redis
1
Series
2
Lessons
17m 30s
Redis is a fast in-memory database, caching, and messaging (or pub/sub) solution
Series.
Lessons.
![Video preview](https://videos.adocasts.com/a69089d2-12b4-4108-a0b1-b6d9d862f4c0/preview.webp)
![Deleting Items and Flushing our Redis Cache](/img/1/deleting-and-flushing-from-redis_1707006632375.jpeg?w=650)
Deleting Items and Flushing our Redis Cache
Not everyone is perfect, and one day you'll accidentally cache bad data and need a way to quickly clear it out. In this lesson, we'll learn how we can create two routes to clear a single Redis key or flush the entire database.
![Video preview](https://videos.adocasts.com/0724087c-d21d-429d-b6eb-2697a90ab277/preview.webp)
![Improving Our Cache with Redis](/img/1/caching-with-redis_1707006462975.jpeg?w=650)
Improved Caching with Redis
In this lesson, we'll install and configure the AdonisJS Redis package. We'll then swap out our singleton in-memory cache service with a Redis cache implementation.