Bug 43138
Summary: | Web Inspector: content tab should show actual resource size, not the size transmitted over network. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Pavel Feldman <pfeldman> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | bweinstein, joepeck, keishi, pfeldman, pmuellr, rabbat, rik, webkit.org, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Pavel Feldman
Currently, size would be 0 for 304 resources.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Xavier Morel
In the new Network tab, each resource has both a "Size" and a "Transfer" label. For actually fetched resources this works (e.g. the Google home page shows a size of 22k but a transferred size of 7.5k)
On the other hand it still does not work for cached resources: if they were taken straight from the cache the value is blanked and displays "from the cache", if they were taken from the cache following a 304 both Size and Transfer are set to 0.
In both "from cache" situations, the transfer can be 0 (though that's not entirely true for 304) but the size should be non-0.
Brian Burg
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.