tuupola / server-timing-middleware

PSR-7 & PSR-15 middleware to add the Server-Timing header
MIT License
198 stars 10 forks source link

Update header format #5

Closed cvazac closed 6 years ago

cvazac commented 6 years ago

Please note that the response header format has evolved: Old:

Server-Timing: <name>=<duration>; <description>

New:

Server-Timing: <name>; dur=<duration>; desc=<description>

Example:

Server-Timing: db; dur=123.4; desc="database access"

Spec PR

Updates in Chrome

tuupola commented 6 years ago

Again? Thanks for the heads up!

cvazac commented 6 years ago

Yes, but I think (hope!) that we are finally settled.

tuupola commented 6 years ago

Fixed with https://github.com/tuupola/server-timing-middleware/commit/76e16b72c69c0f7facc1a92d43e84ae71b088931. Will release when Chrome 66 is out.