HTTP responses can be sped up with Node.js and Redis caching. In this post, we will see how we can do this by adding a Redis cache to an existing Node.js API that uses the Postgres database. 

Table of contents 

  • Prerequisites
  • Introduction
  • Add Redis to the Node.js Express Quotes API
    • Adding the Redis wrapper
  • Add get quotes by author route
  • Add cache to get quotes by author
  • How fast is the Node.js Redis cache?
  • Some other things to consider
  • Conclusion

#node 

Guide Use Node.js and Redis Cache to Speed Up HTTP Responses
1 Likes2.95 GEEK