Preventing cache lookup if ttl = 0, wrapping request call into a method and taking only a subset of response parameters
Preventing cache lookup if ttl = 0, wrapping request call into a method and taking only a subset of response parameters

I assume there's no need for the full response object in the callback
as it also helds a reference to the original request whose contain a
circular reference to response. This would fail when JSON.stringify for
store adapters like Redis.

matteoagosti/node-request-caching