[Webkit-unassigned] [Bug 155112] Web Inspector: Doesn't show size of compressed content correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 15 17:01:48 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=155112

--- Comment #28 from Joseph Pecoraro <joepeck at webkit.org> ---
Comment on attachment 307080
  --> https://bugs.webkit.org/attachment.cgi?id=307080
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=307080&action=review

>> Source/WebKit2/NetworkProcess/NetworkResourceLoader.cpp:625
>> +    networkLoadMetrics.responseHeaderBytesReceived = 0;
> 
> Does the inspector have an indication that this resource was retrieved from the cache?  Does anyone care how many bytes were pulled from the cache?  It's obviously different from bytes received over the network, but maybe there should be a difference between a 0 byte resource and a resource from the cache.

Yes, the inspector will know that this resource was loaded through the DiskCache. (Likewise it identifies resources loaded through the MemoryCache).

Right now I'm more interested in showing the exact number of bytes that went over the network in Web Inspector. I'm not sure knowing how a disk cached resource was stored (possibly compressed or not) will be as interesting to web developers as that is an implementation detail of WebKit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170416/1c931e72/attachment.html>


More information about the webkit-unassigned mailing list