WebPagetest Forums

Full Version: bytesIn breakdown by content type css/js
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I couldn't find this in my JSON results/documentation and didn't see this elsewhere in the forums so a feature request:

It's great to see the bytesIn total number, but it'd be nice if this was broken down by content-type. so cssBytesIn/jsBytesIn, and also for number of requests, cssRequests/jsRequests.

Also, it'd be cool if we could filter or ask for calculations of things like, the 5 slowest or largest requests.

Let me know if some/all of this exists somewhere. Thanks!

[edit] Just found it under breakdowns, nevermind!
It should be there in a "breakdown" entry for a given page: http://www.webpagetest.org/jsonResult.ph...22727afc4c

Code:
breakdown":{
  "html":{"color":[130,181,252],"bytes":73004,"requests":8},
  "js":{"color":[254,197,132],"bytes":266786,"requests":14},
  "css":{"color":[178,234,148],"bytes":210470,"requests":4},
  "image":{"color":[196,154,232],"bytes":522797,"requests":28},
  "flash":{"color":[45,183,193],"bytes":2507,"requests":1},
  "font":{"color":[255,82,62],"bytes":9020,"requests":1},
  "other":{"color":[196,196,196],"bytes":5320,"requests":11}

It will give you the same details as you get in the content breakdown results pages: http://www.webpagetest.org/result/141113...breakdown/

If you want to do anything fancier, you have all of the data for all of the requests to do whatever you'd like with.
Reference URL's