W3C home > Mailing lists > Public > public-web-perf@w3.org > July 2011

About ResourceTiming API and Page errors

From: Ricardo Oliveira <rvelosoo@gmail.com>
Date: Thu, 30 Jun 2011 12:14:29 -0700
Message-Id: <D6B0EEDE-FD4A-4B0A-8F43-0D69C271D198@gmail.com>
To: public-web-perf@w3.org
Hello All,

I was just glancing at the ResourceTiming API spec here:

And i've just noticed that there's not any fields to signal errors in each stage of the component processing. This is also a caveat of HAR v1.2. Basically performance information is mixed with cases where there are errors. In the case of HAR lack of data for a stage (e.g. DNS) is signaled with -1, but that does not necessarily indicate that there was an error in the component, it just indicated there's no data for that stage. I've seen people hacking into HAR and adding extra error fields to encode error conditions.  Also sometimes there's a value in the field but the stage was not completed due to an error so it doesnt make much sense to use that value. This can happen after the Http response is received but e.g. the TCP connection gets broken meanwhile.

I think the main thing is to being able to separate performance from availability, and have explicit fields for errors along with the performance fields. These can be a combination of an error flag and text-free fields due to the entropy between different browsers. Also, there should be a HTTP status field to separate filter 500 cases, etc

Just wanted to toss this at the group and see what you guys think,


Received on Friday, 1 July 2011 05:32:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:01:08 UTC