Patent ID: 8516041

Claim:
A non-transitory computer-readable medium embodying a program executable in a computing device, the program comprising: code that obtains a request for a network page from a client; code that sends the network page to the client, the network page including an asynchronous callback for data and code that is configured to update a rendering of the network page in the client based at least in part on the data, the asynchronous callback including a unique identifier; code that determines whether the data may be pre-fetched; code that pre-fetches the data from a service before obtaining the asynchronous callback for the data from the client when the data may be pre-fetched, wherein the code that pre-fetches is configured not to block the code that sends the network page to the client; code that stores the data that has been pre-fetched in a cache in association with the unique identifier; code that obtains the asynchronous callback for the data from the client, the asynchronous callback including the unique identifier; code that determines whether the data is stored in the cache; code that obtains the data from the cache based at least in part on the unique identifier when the data is stored in the cache; code that obtains the data from the service when the data is not stored in the cache; and code that sends the data to the client in response to the asynchronous callback.