Module: Rack

Defined in:
lib/server_timing_middleware.rb

Overview

This simple Rack middleware subscribes to all AS::Notifications and adds the appropriate ‘Server-Timing` header as described in the spec [1] with the notifications grouped by name and with the elapsed time added up.

1

Server Timing spec: w3c.github.io/server-timing/

Defined Under Namespace

Classes: ServerTimingMiddleware