[Webkit-unassigned] [Bug 144259] Network Cache: Disk cache getting filled by YouTube video data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 27 10:53:16 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=144259
--- Comment #12 from Geoffrey Garen <ggaren at apple.com> ---
Comment on attachment 251743
--> https://bugs.webkit.org/attachment.cgi?id=251743
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=251743&action=review
> Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp:309
> + // Media loaded via XHR is likely being used for MSE streaming (YouTube and Netflix for example).
> + // Streaming media fills the cache quickly and is unlikely to be reused.
> + bool isXHR = originalRequest.requester() == WebCore::ResourceRequest::Requester::XHR;
> + bool isLikelyStreamingMedia = isXHR && (response.mimeType().startsWith("video/") || response.mimeType().startsWith("audio/"));
> + if (isLikelyStreamingMedia)
> + return StoreDecision::NoDueToStreamingMedia;
We don't think that people rewind, fast-forward, and/or revisit videos? I tend to do all of those things. :(
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150427/b3cbc2d2/attachment-0001.html>
More information about the webkit-unassigned
mailing list