Accelerating Your Web Application With Redis Cache

Simon Saliba
Geek Culture
Published in
6 min readApr 16, 2021

--

In this article, we will demonstrate in a simple example how to accelerate web applications using Redis cache. We will start with a small introduction to Redis. Then, we will build a simple web application backend in Node.js to retrieve the number of Github repositories for a certain Github username. We will measure the API’s request-response time. After that, we will implement a Redis cache middleware to store the retrieved data and serve it to the user, and compare the request-response time to the previous implementation without Redis.

--

--

Simon Saliba
Geek Culture

Software Engineer, Entrepreneur and Writer. MSc. @ Mines Paris. Passionate about web development and security. Sometimes try to maintain healthy habits.