Bug 80334

Summary: Refine CachedRawResource reuse based on request headers
Product: WebKit Reporter: Nate Chapin <japhet>
Component: WebCore Misc.Assignee: Nate Chapin <japhet>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, ap, koivisto, simonmorris
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Nate Chapin
Reported 2012-03-05 15:11:01 PST
So far, I've fixed http://trac.webkit.org/changeset/108576, which was allowing CachedResource re-use when the two requests' Range headers weren't identical. There are other, similar cases, where headers need to be the same (e.g., "Authorization" was recently pointed out to me). I'm debating whether to continue the whack-a-mole game of finding and fixing these headers that need to match to be cahceable. The alternative is to switch to requiring all headers to match except for a whitelist (e.g., I'm pretty sure we still want a cache hit even if the referrers don't match). Thoughts are appreciated.
Attachments
Nate Chapin
Comment 1 2012-04-16 17:22:51 PDT
This should have been resolved by http://trac.webkit.org/changeset/110608
Note You need to log in before you can comment on or make changes to this bug.