USING ENTITY TAGS (ETAGS) IN A HIERARCHICAL HTTP PROXY CACHE TO REDUCE NETWORK TRAFFIC
First Claim
Patent Images
1. A method for validating a web cache, the method comprising the steps of:
- a first computer, connectedly disposed between a second computer and a third computer, receiving a request for a resource stored on the second computer from the third computer, the request having an entity tag (ETag) corresponding to a cached version of the resource stored on the third computer;
the first computer forwarding the request for the resource to the second computer and receiving a copy of the resource from the second computer;
the first computer generating an ETag for the copy of the resource received from the second computer; and
the first computer comparing the generated ETag with the ETag corresponding to the cached version of the resource, and in response to determining that the generated ETag and the ETag corresponding to the cached version match, the first computer sending a response to the third computer indicating that the cached version of the resource is the same as the resource on the second computer.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed is a program for validating a web cache independent of an origin server. A computer in between a client computer and the origin server computer receives a request for a resource and an entity tag (ETag) corresponding to the request. The computer forwards the request to the origin server and subsequently receives the resource. The computer generates an ETag for the received resource and compares the generated ETag to the ETag corresponding to the request. If the ETags match, the computer sends an indication toward the client computer that the resource has not been modified.
56 Citations
20 Claims
-
1. A method for validating a web cache, the method comprising the steps of:
-
a first computer, connectedly disposed between a second computer and a third computer, receiving a request for a resource stored on the second computer from the third computer, the request having an entity tag (ETag) corresponding to a cached version of the resource stored on the third computer; the first computer forwarding the request for the resource to the second computer and receiving a copy of the resource from the second computer; the first computer generating an ETag for the copy of the resource received from the second computer; and the first computer comparing the generated ETag with the ETag corresponding to the cached version of the resource, and in response to determining that the generated ETag and the ETag corresponding to the cached version match, the first computer sending a response to the third computer indicating that the cached version of the resource is the same as the resource on the second computer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product for validating a web cache, the computer program product comprising:
-
one or more computer-readable tangible storage devices and program instructions stored on at least one of the one or more storage device, the program instructions comprising; program instructions to receive a request for a resource stored on a first computer from a second computer, the request having an entity tag (ETag) corresponding to a cached version of the resource stored the second computer; program instructions to forward the request for the resource to the first computer and receive a copy of the resource from the first computer; program instructions to generate an ETag for the copy of the resource received from the first computer; and program instructions to compare the generated ETag with the ETag corresponding to the cached version of the resource, and in response to determining that the generated ETag and the ETag corresponding to the cached version match, program instructions to send a response to the second computer indicating that the cached version of the resource is the same as the resource stored on the first computer. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A computer system for validating a web cache, the computer system comprising:
-
one or more processors, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage device for execution by at least one of the one or more processors, the program instructions comprising; program instructions to receive a request for a resource stored on a first computer from a second computer, the request having an entity tag (ETag) corresponding to a cached version of the resource stored the second computer; program instructions to forward the request for the resource to the first computer and receive a copy of the resource from the first computer; program instructions to generate an ETag for the copy of the resource received from the first computer; and program instructions to compare the generated ETag with the ETag corresponding to the cached version of the resource, and in response to determining that the generated ETag and the ETag corresponding to the cached version match, program instructions to send a response to the second computer indicating that the cached version of the resource is the same as the resource stored on the first computer. - View Dependent Claims (17, 18, 19, 20)
-
Specification