Caching with Redis and MongoDB
I’m following an online course which covers this topic on caching with Redis and MongoDB. The tutor mentioned about overriding query.exec()
in mongoose by inserting the cache check logic each time before executing a query.