<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Network Cache: Disk cache getting filled by YouTube video data"
   href="https://bugs.webkit.org/show_bug.cgi?id=144259#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Network Cache: Disk cache getting filled by YouTube video data"
   href="https://bugs.webkit.org/show_bug.cgi?id=144259">bug 144259</a>
              from <span class="vcard"><a class="email" href="mailto:ggaren&#64;apple.com" title="Geoffrey Garen &lt;ggaren&#64;apple.com&gt;"> <span class="fn">Geoffrey Garen</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=251743&amp;action=diff" name="attach_251743" title="patch">attachment 251743</a> <a href="attachment.cgi?id=251743&amp;action=edit" title="patch">[details]</a></span>
patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=251743&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=251743&amp;action=review</a>

<span class="quote">&gt; Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp:309
&gt; +    // Media loaded via XHR is likely being used for MSE streaming (YouTube and Netflix for example).
&gt; +    // Streaming media fills the cache quickly and is unlikely to be reused.
&gt; +    bool isXHR = originalRequest.requester() == WebCore::ResourceRequest::Requester::XHR;
&gt; +    bool isLikelyStreamingMedia = isXHR &amp;&amp; (response.mimeType().startsWith(&quot;video/&quot;) || response.mimeType().startsWith(&quot;audio/&quot;));
&gt; +    if (isLikelyStreamingMedia)
&gt; +        return StoreDecision::NoDueToStreamingMedia;</span >

We don't think that people rewind, fast-forward, and/or revisit videos? I tend to do all of those things. :(</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>