<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>80334</bug_id>
          
          <creation_ts>2012-03-05 15:11:01 -0800</creation_ts>
          <short_desc>Refine CachedRawResource reuse based on request headers</short_desc>
          <delta_ts>2012-04-16 17:22:51 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nate Chapin">japhet</reporter>
          <assigned_to name="Nate Chapin">japhet</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>koivisto</cc>
    
    <cc>simonmorris</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>571081</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Chapin">japhet</who>
    <bug_when>2012-03-05 15:11:01 -0800</bug_when>
    <thetext>So far, I&apos;ve fixed http://trac.webkit.org/changeset/108576, which was allowing CachedResource re-use when the two requests&apos; Range headers weren&apos;t identical.

There are other, similar cases, where headers need to be the same (e.g., &quot;Authorization&quot; was recently pointed out to me). I&apos;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&apos;m pretty sure we still want a cache hit even if the referrers don&apos;t match).

Thoughts are appreciated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>603609</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Chapin">japhet</who>
    <bug_when>2012-04-16 17:22:51 -0700</bug_when>
    <thetext>This should have been resolved by http://trac.webkit.org/changeset/110608</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>