Patent ID: 8510750

Claim:
A method to generate and save a resource representation recited by a request encoded in a computer algorithm, comprising: receiving from a requesting algorithm an Unresolved resource request, wherein said Unresolved resource request is associated with a first context, wherein said first context comprises a first address space, and wherein said Unresolved resource request comprises an Unresolved request scope comprising at least said first context; resolving said Unresolved resource request to an endpoint, wherein said endpoint is associated with a second context, wherein said second context comprises a second address space; evaluating said resolved resource request by said endpoint to generate said resource representation; generating and saving in a cache at least one Unresolved request scope key; generating and saving in said cache a resolved request scope key; generating and saving in said cache a cache entry comprising said resource representation; associating said cache entry with said resolved request scope key and with said at least one Unresolved request scope key using a mapping function encoded in said cache; wherein said Unresolved resource request comprises a resource identifier and a verb, and wherein said resolving step comprises: configuring a representation cache comprising one or more representation cache keys, and one or more representation cache entries, wherein each representation cache key comprises a resource identifier, a verb, and a request scope, and wherein each representation cache entry comprises a resource representation and response metadata comprising an expiry determinant; selecting a representation cache key; determining if said representation cache key matches said Unresolved resource request; operative if said representation cache key matches said Unresolved resource request, determining using an expiry determinant encoded in a representation cache entry associated with said selected representation cache key if a resource representation encoded in said representation cache entry associated with said selected representation cache key has expired; operative if said resource representation encoded in said representation cache entry associated with said selected representation cache key has not expired, returning to a kernel function said resource representation encoded in said representation cache entry associated with said selected representation cache key.