Increase performance by not making multiple API calls