×

Using entity tags (ETags) in a hierarchical HTTP proxy cache to reduce network traffic

  • US 9,253,278 B2
  • Filed: 01/30/2012
  • Issued: 02/02/2016
  • Est. Priority Date: 01/30/2012
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for validating a web cache, the method comprising the steps of:

  • an intermediate computer, connectedly disposed between an origin server computer and a client computer, receiving a request for a resource stored on the origin server computer from the client computer;

    the intermediate computer forwarding the request for the resource to the origin server computer and receiving a first copy of the resource from the origin server computer;

    the intermediate computer determining that the received first copy of the resource does not have an associated ETag, and in response, generating a first ETag for the first copy of the resource received from the origin server computer, caching at least the generated first ETag, and sending the first copy of the resource to the requesting client computer;

    the intermediate computer receiving a subsequent request from the client computer, wherein the subsequent request seeks an updated version of the resource stored on the origin server computer and, if no updated version of the resource exists, validation of the client computer'"'"'s cached version of the resource, the subsequent request including the first ETag, now corresponding to the cached version of the resource on the client computer;

    responsive to receiving the subsequent request, the intermediate computer requesting and receiving a second copy of the resource from the origin server computer, irrespective of whether the resource on the origin server has been modified since the previous request for the resource;

    subsequent to receiving the second copy of the resource from the origin server computer, the intermediate computer generating a new ETag for the second copy of the resource;

    the intermediate computer comparing the new ETag for the second copy of the resource with the first ETag to determine at the intermediate computer whether the resource on the origin server matches the cached version of the resource on the client computer;

    if the intermediate computer determines that the new ETag and the first ETag match, the intermediate computer sending a response to the client computer indicating that the cached version of the resource on the client computer is up to date; and

    if the intermediate computer determines that the new ETag does not match the first ETag, the intermediate computer caching at least the new ETag, and sending the second copy of the resource to the requesting client computer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×