W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2018

Correct Server-Timing headers

From: Anton Nemtsev <newsilentimp@gmail.com>
Date: Sun, 11 Feb 2018 14:52:40 +0200
Message-ID: <CA+JO0fKp4o=O=OxoRAvEO0k41y26ohwHqkLDf-sUQuwuoQq0Mw@mail.gmail.com>
To: public-web-perf@w3.org
Hi
I am confused a little, from spec I see that header should look like:

Server-Timing: cache;desc="Cache Read";dur=23.2

Server-Timing: ssr;desc="Server Side Rendering";dur=60

But in fact this headers will not show time in a Chrome, only two lines
'desc'.
If I will use header this way:

Server-Timing: DO_NOT_MATTER=60; desc="SSR";


I will get `SSR: 60ms` in the Chrome Developer Tools. But why DO_NOT_MATTER
do not matter?
And it's kinda differ from spec.

May you please clarify how I should use this header.
With all Best Regards.
Received on Monday, 12 February 2018 14:21:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 12 February 2018 14:21:34 UTC