MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - WPTAgent - iOS devices - inconsistent "bytes in" for objects with GZIP

WebPagetest Forums

Full Version: WPTAgent - iOS devices - inconsistent "bytes in" for objects with GZIP
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using the WPTAgent (version as of 1wk ago) and WPT 17.12, I have two Apple iOS11 devices running in a private instance and the bytes-in (downloaded) size is correct for some objects served with GZIP and wrong (=uncompressed size) for other objects also served with GZIP.

The issue is repeatable over multiple tests and the different iOS devices and always seems to affect the same objects in each run. Several objects in each run report the incorrect bytes-in size.

The issue has also been replicated on public WPT using iPhone6 at:

e.g. for two objects from the same domain and each with a Content-Encoding: gzip response header:
object #12 is shown correctly with bytes-in < uncompressed size
object #15 is shown incorrectly with bytes-in = uncompressed size.


Same site tested on desktop, Android via WPT, emulation in Google Chrome and HTTPWatch on an Apple device all show the content is correctly compressed.

Please advise.

thanks, Tim
If possible, could you file an issue on the github tracker for the agent?

It is going to depend on what iOS exposes to the dev tools interface and if anything broke with it but hopefully it's just an issue with the agent's processing of the events. I'm actively working on fixing the timeline capture for iOS 11.3 right now so I can take a look while I'm in the code.
thanks - raised as #114
Reference URL's