Patent ID: 7685255

Claim:
A method for prefetching one or more embedded objects of a data set from a server, comprising: intercepting a client request from a client for the data set at a prefetch cache; prefetching the one or more embedded objects from the server in anticipation of subsequent client requests for the one or more embedded objects; opening a socket on the prefetch cache to retrieve the one or more embedded objects from the server; determining whether each embedded object is uncacheable; based on the determination, loading a cacheable embedded object into one or more disks of the prefetch cache and loading an uncacheable embedded object into a buffer associated with the socket instead of in the one or more disks of the prefetch cache; creating an entry in a cache table of the prefetch cache for the uncacheable embedded object and storing a timestamp in the entry of the cache table; using the timestamp to determine whether the uncacheable embedded object has been stored in the buffer for longer than a threshold time period, and, if so, flushing the uncacheable embedded object from the buffer; otherwise receiving a subsequent client request for the uncacheable embedded object; and sending the uncacheable embedded object from the buffer to the client through the socket.