Patent ID: 8874694

Claim:
A method comprising: accessing, by one or more computing devices, a data store comprising a log of requests transmitted by a plurality of remote hosts, each request corresponding to one or more resources of a plurality of resources; analyzing the requests and one or more attributes of the one or more resources corresponding to the respective requests using a cost function relating to network performance, wherein a first component of the cost function is directed to a performance improvement achieved by grouping one or more of the resources of the plurality of resources for transmission to one or more remote hosts and a second component is directed to a performance inefficiency caused by grouping the one or more resources of the plurality of resources for transmission to the one or more remote hosts; and identifying one or more groupings of resources to be included in a package of resources, at least one of the one or more groupings including two or more resources of the plurality of resources, wherein the package of resources can be transmitted in a single response to a request corresponding to at least one resource in the package.