Middlebot resource cache middleware based on redis.