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 at a first computing device 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 at the first computing device;
retrieving the content object from the cache at the first computing device using the URI and the cookie value; and
returning from the first computing device a response containing the content object.
0 Assignments
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
9 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 at a first computing device 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 at the first computing device; retrieving the content object from the cache at the first computing device using the URI and the cookie value; and returning from the first computing device a response containing the content object. - View Dependent Claims (2, 3)
-
-
4. A computing device apparatus for processing objects within a data processing system in a network, the computing device apparatus comprising a processor, a data bus coupled to the processor, and a memory coupled to the processor through the data bus for storing computer readable code to be processed by the processor 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; 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 (5, 6)
-
-
7. A computer program product in a non-transitory computer readable storage 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 (8, 9)
-
Specification