Adding a Redis Cache To Your Node.js Server
NodeJs is known for its speed with respect to async tasks, but there’s still a lot of potential to make responses from your server even faster, sometimes by orders of magnitude. In this post, we are going to go through a brief introduction to the concept of caching, along with a tutorial on how to implement it using redis and an express server. What Is Caching? Normally, when you make a web server with a database, each request to the server entails one or more requests to the database, and some processing of the results before sending back a response....