Issue metadata
Sign in to add a comment
|
DevTools doesn’t show correct GZIP’d size of resources |
||||||||||||||||||||||||
Issue descriptionChrome Version : 63.0.3231.0 OS Version: OS X 10.12.6 What steps will reproduce the problem? 1. Open DevTools Network Panel with large request rows 2. Open a site that serves GZIP content (example: http://dassur.ma/things/dom2texture/). Ideally a site that serves a Content-Length header 3. Determine actual size of numbers over the wire (e.g. curl -H 'Accept-Encoding: gzip' <url> | wc -c) What is the expected result? The grey resource size should match the actual number of bytes transferred. What happens instead of that? Neither of the sizes match the actual number of bytes transferred. For the example site above, DevTools shows 48.8KB and 48.4KB (grey). The actual number of bytes transferred is 10787.
,
Oct 3 2017
Note that http://dassur.ma/things/dom2texture/ doesn’t have a `Content-Length` header, but this shouldn’t affect the result. There is a related bug where if the `Content-Length` header is incorrect (e.g. `Content-Length: 42` while the actual response size is `9001` bytes), DevTools reports the `Content-Length` header value as the size.
,
Oct 4 2017
Re #2: I tested it with a server that serves a correct `Content-Length` header and the bug persists.
,
Oct 4 2017
Looks like it's from plzNavigate. I'll look deeper into it.
,
Oct 16 2017
Yes that's likely. We've been encountering issues in the past with the proper transfer of the encoded data size of the navigation request to the renderer (where it will be displayed in DevTools).
,
Oct 16 2017
,
Oct 16 2017
This issue is also present in Chrome Version 61.0.3163.100 (OS X).
,
Oct 17 2017
,
Oct 17 2017
Issue 775540 has been merged into this issue.
,
Oct 21 2017
This is becoming a significant issue. Can someone from PlzNavigate help diagnose what's happening here?
,
Oct 23 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by paulir...@chromium.org
, Oct 3 2017Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)
I can reproduce this. curl -H 'Accept-Encoding: gzip' http://dassur.ma/things/dom2texture/ | wc -c This reports 10793 but in DevTools, both values are ~49KB.