Avoid repeated checksum generation for cached HttpResponses by storing checksum 
in HttpResponse object.
-------------------------------------------------------------------------------------------------------

                 Key: SHINDIG-586
                 URL: https://issues.apache.org/jira/browse/SHINDIG-586
             Project: Shindig
          Issue Type: Improvement
          Components: Gadget Rendering Server (Java)
            Reporter: John Hjelmstad


CachingContentRewriterRegistry uses checksums to generate rewritten-content 
cache keys. In the case of HttpResponse rewriting, in practice the vast 
majority of rewrites - and rewritten content cache lookups - are made using 
cached HttpResponse objects.

To avoid recomputing checksum for each of these requests simply to look up, we 
can store checksum as a special header on HttpResponse (which is not serialized 
on output) before caching it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to