Current time: 07-17-2018, 02:36 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WPTAgent - iOS devices - inconsistent "bytes in" for objects with GZIP
05-03-2018, 09:44 PM
Post: #1
WPTAgent - iOS devices - inconsistent "bytes in" for objects with GZIP
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: https://www.webpagetest.org/result/180503_BC_68f059dfa4526a36d47a91e514dcf053/1/details/#waterfall_view_step1

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
Find all posts by this user
Quote this message in a reply
05-04-2018, 12:23 AM
Post: #2
RE: WPTAgent - iOS devices - inconsistent "bytes in" for objects with GZIP
If possible, could you file an issue on the github tracker for the agent? https://github.com/WPO-Foundation/wptagent/issues

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.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2018, 12:49 AM
Post: #3
RE: WPTAgent - iOS devices - inconsistent "bytes in" for objects with GZIP
thanks - raised as #114
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)