middleware for koa to cache response with redis.