Method and system for caching role-specific fragments
First Claim
1. A method for processing objects within a data processing system in a network, the method comprising:
- storing a content object in a cache using a cache identifier for the content object that is based on a URI (Uniform Resource Identifier) for the content object and a cookie value associated with the content object;
receiving a request containing the URI and an associated cookie having the cookie value;
retrieving the content object from the cache using the URI and the cookie value; and
returning a response containing the content object.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, a system, an apparatus, and a computer program product are presented for a fragment caching methodology. After a message is received at a computing device, a fragment in the message body is cached. Cache ID rules from an origin server accompany a fragment to describe a method for forming a unique cache ID for the fragment such that dynamic content can be cached away from an origin server. A cache ID may be based on a URI and/or query parameters and/or cookies that are associated with a fragment. After user authentication, a cookie containing the user'"'"'s role may be used in subsequent requests for role-specific fragments and in the cache identifier for role-specific fragments, thereby allowing requests from other users for role-specific fragments to be resolved in the cache when the users have the same role because these users would also have the same cookie.
-
Citations
42 Claims
-
1. A method for processing objects within a data processing system in a network, the method comprising:
-
storing a content object in a cache using a cache identifier for the content object that is based on a URI (Uniform Resource Identifier) for the content object and a cookie value associated with the content object;
receiving a request containing the URI and an associated cookie having the cookie value;
retrieving the content object from the cache using the URI and the cookie value; and
returning a response containing the content object. - View Dependent Claims (2, 3)
-
-
4. A method for processing objects within a data processing system in a network, the method comprising:
-
receiving a first response message at a first computing device, wherein the first response message comprises a fragment and a source identifier for a fragment, wherein the first response message is associated with a first cookie having a cookie value, and wherein the first response message is directed to a first client device;
generating a cache identifier for the fragment based on the source identifier and the cookie value;
storing the fragment in a cache at the first computing device using the cache identifier;
receiving a request message at the first computing device from a second client device, wherein the request message contains the source identifier for the fragment, and wherein the request message is associated with a second cookie having the cookie value;
in response to receiving the request message, generating the cache identifier for the fragment based on the source identifier and the cookie value;
retrieving the fragment from the cache using the cache identifier;
generating a second response message comprising the fragment; and
sending the second response message to the second client device. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. An apparatus for processing objects within a data processing system in a network, the apparatus comprising:
-
means for storing a content object in a cache using a cache identifier for the content object that is based on a URI (Uniform Resource Identifier) for the content object and a cookie value associated with the content object;
means for receiving a request containing the URI and an associated cookie having the cookie value;
means for retrieving the content object from the cache using the URI and the cookie value; and
means for returning a response containing the content object. - View Dependent Claims (16, 17)
-
-
18. An apparatus for processing objects within a data processing system in a network, the apparatus comprising:
-
means for receiving a first response message at a first computing device, wherein the first response message comprises a fragment and a source identifier for a fragment, wherein the first response message is associated with a first cookie having a cookie value, and wherein the first response message is directed to a first client device;
means for generating a cache identifier for the fragment based on the source identifier and the cookie value;
means for storing the fragment in a cache at the first computing device using the cache identifier;
means for receiving a request message at the first computing device from a second client device, wherein the request message contains the source identifier for the fragment, and wherein the request message is associated with a second cookie having the cookie value;
means for generating the cache identifier for the fragment based on the source identifier and the cookie value in response to receiving the request message;
means for retrieving the fragment from the cache using the cache identifier;
means for generating a second response message comprising the fragment; and
means for sending the second response message to the second client device. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. A computer program product in a computer readable medium for use within a data processing system in a network for processing objects, the computer program product comprising:
-
instructions for storing a content object in a cache using a cache identifier for the content object that is based on a URI (Uniform Resource Identifier) for the content object and a cookie value associated with the content object;
instructions for receiving a request containing the URI and an associated cookie having the cookie value;
instructions for retrieving the content object from the cache using the URI and the cookie value; and
instructions for returning a response containing the content object. - View Dependent Claims (30, 31)
-
-
32. A computer program product in a computer readable medium for use within a data processing system in a network for processing objects, the computer program product comprising:
-
instructions for receiving a first response message at a first computing device, wherein the first response message comprises a fragment and a source identifier for a fragment, wherein the first response message is associated with a first cookie having a cookie value, and wherein the first response message is directed to a first client device;
instructions for generating a cache identifier for the fragment based on the source identifier and the cookie value;
instructions for storing the fragment in a cache at the first computing device using the cache identifier;
instructions for receiving a request message at the first computing device from a second client device, wherein the request message contains the source identifier for the fragment, and wherein the request message is associated with a second cookie having the cookie value;
instructions for generating the cache identifier for the fragment based on the source identifier and the cookie value in response to receiving the request message;
instructions for retrieving the fragment from the cache using the cache identifier;
instructions for generating a second response message comprising the fragment; and
instructions for sending the second response message to the second client device. - View Dependent Claims (33, 34, 35, 36, 37, 38, 39, 40, 41, 42)
-
Specification