System and method of accessing a document efficiently through multi-tier web caching
First Claim
1. A computer-implemented method for accessing a document, comprising:
- identifying a set of documents from a database, the set of documents stored in a search engine repository containing documents obtained by a network crawler system, the database including information about each document in the set of documents;
identifying documents in the set of documents that satisfy predefined criteria, the predefined criteria including a requirement that document content in the search engine repository for the identified documents has remained unchanged over multiple downloads by the network crawler system; and
inserting, for each respective identified document, a respective entry in a cache index indicating that the document content of the respective identified document is suitable for retrieval from the search engine repository and for serving to respective clients, wherein each respective identified document has a respective URL and wherein the search engine repository is at a location that is independent of the respective URLs of the identified documents;
receiving at a document server a request from a client, the request identifying a URL of a document;
identifying at the document server a first document copy corresponding to the identified URL;
determining whether the first document copy is stale;
when the first document copy is determined not to be stale, serving to the client the first document copy from the document server;
when the first document copy at the document server is determined to be stale, and a first condition is satisfied, the first condition including a requirement that the cache index include an entry for the identified URL that indicates that a repository copy of the document in the search engine repository is suitable for retrieval from the search engine repository and for serving to respective clients,retrieving the repository copy of the document from the search engine repository; and
when the first document copy at the document server is determined to be stale, and the first condition is not satisfied,retrieving a host copy of the document.
2 Assignments
0 Petitions
Accused Products
Abstract
Upon receipt of a document request, a client assistant examines its cache for the document. If not successful, a server searches for the requested document in its cache. If the server copy is still not fresh or not found, the server seeks the document from its host. If the host cannot provide the copy, the server seeks it from a document repository. Certain documents are identified from the document repository as being fresh or stable. Information about each these identified documents is transmitted to the server which inserts entries into an index if the index does not already contain an entry for the document. If and when this particular document is requested, the document will not be present in the server, however the server will contain an entry directing the server to obtain the document from the document repository rather than the document'"'"'s web host.
283 Citations
6 Claims
-
1. A computer-implemented method for accessing a document, comprising:
-
identifying a set of documents from a database, the set of documents stored in a search engine repository containing documents obtained by a network crawler system, the database including information about each document in the set of documents; identifying documents in the set of documents that satisfy predefined criteria, the predefined criteria including a requirement that document content in the search engine repository for the identified documents has remained unchanged over multiple downloads by the network crawler system; and inserting, for each respective identified document, a respective entry in a cache index indicating that the document content of the respective identified document is suitable for retrieval from the search engine repository and for serving to respective clients, wherein each respective identified document has a respective URL and wherein the search engine repository is at a location that is independent of the respective URLs of the identified documents; receiving at a document server a request from a client, the request identifying a URL of a document; identifying at the document server a first document copy corresponding to the identified URL; determining whether the first document copy is stale; when the first document copy is determined not to be stale, serving to the client the first document copy from the document server; when the first document copy at the document server is determined to be stale, and a first condition is satisfied, the first condition including a requirement that the cache index include an entry for the identified URL that indicates that a repository copy of the document in the search engine repository is suitable for retrieval from the search engine repository and for serving to respective clients, retrieving the repository copy of the document from the search engine repository; and when the first document copy at the document server is determined to be stale, and the first condition is not satisfied, retrieving a host copy of the document. - View Dependent Claims (2)
-
-
3. A computer readable storage medium storing one or more computer programs to be executed by one or more computers, the one or more computer programs comprising:
-
instructions for storing in a database information about a set of documents, the set of documents stored in a search engine repository containing documents obtained by a network crawler system; instructions for identifying documents in the set of documents that satisfy predefined criteria, the predefined criteria including a requirement that document content in the search engine repository for the identified documents has remained unchanged over multiple downloads by the network crawler system; and instructions for inserting, for each respective identified documents, a respective entry in a cache index indicating that the document content of the respective identified document is suitable for retrieval from the search engine repository and for serving to respective clients, wherein each respective identified document has a respective URL, and wherein the search engine repository is at a location that is independent of the respective URLs of the identified documents; instructions for receiving at a document server a request from a client, the request identifying a URL of a document; instructions for identifying at the document server a first document copy corresponding to the identified URL; instructions for determining whether the first document copy is stale; and document retrieval instructions that, when the first document copy at the document server is determined not to be stale, serving to the client the first document copy from the document server; when the first document copy at the document server is determined to be stale, and a first condition is satisfied, the first condition including a requirement that the cache index include an entry for the identified URL that indicates that a repository copy of the document in the search engine repository is suitable for retrieval from the search engine repository and for serving to respective clients, retrieve the repository copy of the document from the search engine repository, and when the first document copy at the document server is determined to be stale, and the first condition is not satisfied, retrieve a host copy of the document. - View Dependent Claims (4)
-
-
5. A system for accessing a document comprising at least one computer, the at least one computer including:
-
a database containing information about each document in a set of documents stored in a search engine repository, the search engine repository containing documents obtained by a network crawler system; an identification unit that identifies documents in the set of documents that satisfy predefined criteria, the predefined criteria including a requirement that document content in the search engine repository for the identified documents has remained unchanged over multiple downloads by the network crawler system; an insertion unit that inserts, for each respective identified documents, a respective entry in a cache index indicating that the document content of the respective identified document is suitable for retrieval from the search engine repository and for serving to respective clients, each respective identified documents having a respective URL, the search engine repository at a location that is independent of the respective URLs of the identified documents; a receiving unit that receives at a document server a request from a client, the request identifying a URL of a document; a lookup module that identifies at the document server a first document copy corresponding to the identified URL, and determines whether the first document copy is stale; and a document retrieving unit that, when the first document copy at the document server is determined not to be stale, serving to the client the first document copy from the document server; when the first document copy at the document server is determined to be stale, and a first condition is satisfied, the first condition including a requirement that the cache index include an entry for the identified URL that indicates that a repository copy of the document in the search engine repository is suitable for retrieval from the search engine repository and for serving to respective clients, retrieves the repository copy of the document from the search engine repository, and when the first document copy at the document server is determined to be stale, and the first condition is not satisfied, retrieves a host copy of the document. - View Dependent Claims (6)
-
Specification