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:
- receiving at a first computing device a first response message that is provided in response to a first request message, 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 second request message at the first computing device from a second client device, wherein the second request message contains the source identifier for the fragment, and wherein the second request message is associated with a second cookie having the cookie value; and
in response to receiving the second request message, generating the cache identifier for the fragment based on the source identifier and the cookie value.
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.
79 Citations
11 Claims
-
1. A method for processing objects within a data processing system in a network, the method comprising:
-
receiving at a first computing device a first response message that is provided in response to a first request message, 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 second request message at the first computing device from a second client device, wherein the second request message contains the source identifier for the fragment, and wherein the second request message is associated with a second cookie having the cookie value; and in response to receiving the second request message, generating the cache identifier for the fragment based on the source identifier and the cookie value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
Specification