Systems and methods for cache optimization
First Claim
Patent Images
1. A computer-implemented method, comprising:
- at a server computer with memory and one or more processors,in response to a request, received from a client computer, for a document;
identifying a cached instance of the document stored at the server and a cache update history associated with the document;
identifying from the document'"'"'s cache update history a set of previous document requests for the document, a corresponding set of document request parameters and a plurality of header values that have been assigned to each document request parameter; and
in accordance with a determination that for the set of previous document requests for the document the content of the document has been the same regardless of which header value was assigned to each document request parameter and that the cached instance of the document is deemed fresh according to the document'"'"'s cache update history;
transmitting the cached instance of the document from the server computer to the client computer and fetching a new instance of the document from a host; and
updating the document'"'"'s cache update history using the fetched instance of the document.
2 Assignments
0 Petitions
Accused Products
Abstract
A server computer identifies a cached document and its associated cache update history in response to a request or in anticipation of a request from a client computer. The server computer analyzes the document'"'"'s cache update history to determine if the cached document is de facto fresh. If the cached document is de facto fresh, the server computer then transmits the cached document to the client computer. Independently, the server computer also fetches an instance of the document from another source like a web host and updates the document'"'"'s cache update history using the fetched instance of the document.
-
Citations
13 Claims
-
1. A computer-implemented method, comprising:
-
at a server computer with memory and one or more processors, in response to a request, received from a client computer, for a document; identifying a cached instance of the document stored at the server and a cache update history associated with the document; identifying from the document'"'"'s cache update history a set of previous document requests for the document, a corresponding set of document request parameters and a plurality of header values that have been assigned to each document request parameter; and in accordance with a determination that for the set of previous document requests for the document the content of the document has been the same regardless of which header value was assigned to each document request parameter and that the cached instance of the document is deemed fresh according to the document'"'"'s cache update history; transmitting the cached instance of the document from the server computer to the client computer and fetching a new instance of the document from a host; and updating the document'"'"'s cache update history using the fetched instance of the document. - View Dependent Claims (2, 3, 4)
-
-
5. A system for serving documents to a user at a client device, comprising:
-
memory; at least one processor; and at least one program stored in the memory and executed by the at least one processor in response to a request, received from a client computer, for a document, the at least one program including; instructions for identifying a cached instance of the document stored in the memory and a cache update history associated with the document; instructions for identifying from the document'"'"'s cache update history a set of previous document requests for the document, a corresponding set of document request parameters and a plurality of header values that have been assigned to each document request parameter; and instructions for determining that for the set of previous document requests for the document the content of the document has been the same regardless of which header value was assigned to each document request parameter and that the cached instance of the document is deemed fresh according to the document'"'"'s cache update history, and in accordance with the determination; transmitting the cached instance of the document to the client computer and fetching a new instance of the document from a host; and updating the document'"'"'s cache update history using the fetched instance of the document. - View Dependent Claims (6, 7, 8)
-
-
9. A computer program product for use in conjunction with a computer system, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism executing in response to a request, received from a client computer, for a document and the computer program mechanism comprising:
-
instructions for identifying a cached instance of the document stored on the computer readable storage medium a cache update history associated with the document; instructions for identifying from the document'"'"'s cache update history a set of previous document requests for the document, a corresponding set of document request parameters and a plurality of header values that have been assigned to each document request parameter; and instructions for determining that for the set of previous document requests for the document the content of the document has been the same regardless of which header value was assigned to each document request parameter and that the cached instance of the document is deemed fresh according to the document'"'"'s cache update history, and in accordance with the determination; transmitting the cached instance of the document to the client computer and fetching a new instance of the document from a host; and updating the document'"'"'s cache update history using the fetched instance of the document. - View Dependent Claims (10, 11, 12)
-
-
13. A system for serving documents to a user at a client device, comprising:
-
memory; a processor; means for receiving a request, from a client computer, for a document; means for identifying a cached instance of the document stored in the memory and a cache update history associated with the document; means for identifying from the document'"'"'s cache update history a set of previous document requests for the document, a corresponding set of document request parameters and a plurality of header values that have been assigned to each document request parameter; and means for determining that for the set of previous document requests for the document the content of the document has been the same regardless of which header value was assigned to each document request parameter and that the cached instance of the document is deemed fresh according to the document'"'"'s cache update history, and in accordance with the determination; transmitting the cached instance of the document to the client computer and fetching a new instance of the document from a host; and updating the document'"'"'s cache update history using the fetched instance of the document.
-
Specification