Minimize number of http requests