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

Re: Cross-Origin Resources and Resource Timing

From: James Simonsen <simonjam@chromium.org>
Date: Tue, 6 Sep 2011 10:01:26 -0700
Message-ID: <CAPVJQi=ZSUbX7ofi8XhTEiRDB4Fdt-bW2UxJ-3vttWR5Ph-5rw@mail.gmail.com>
To: "public-web-perf@w3.org" <public-web-perf@w3.org>
On Tue, Sep 6, 2011 at 8:00 AM, Alois Reitbauer <
alois.reitbauer@dynatrace.com> wrote:

>  I have a question on cross-origin resources. Does the current spec state
> that when the document is loaded from www.mydomain.com that I will not get
> any timing information from www.yourdomain.com ? This would make it
> impossible to monitor third party resources.
>

You'll get the overall load time for those resources, but it won't be broken
down into the details (DNS time, connect time, etc.). Those values will all
report 0.

If you want all the information, you'll have to add the Timing-Allow-Origin
header to the resource's HTTP response. See:

http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/ResourceTiming/Overview.html#cross-origin-resources

James
Received on Tuesday, 6 September 2011 17:02:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:31 UTC