A simple node js app to show the power of redis cache. To see for yourself Run node server_with_redis.js in the terminal, open the postman and use a GET request to http://localhost:3000/photos.
You can see the first time it took 129ms to retrive the data.
Run for the second time, and you can see it only took 22ms, which is way much faster.
You can also see this log in the console and check for the keys in redis-cli.