v131 · service worker
ServiceWorkerStaticRouterTimingInfo
Adds timing information for ServiceWorker Static routing API, exposed in navigation timing API and resource timing API for developer use. Service Worker provides timing information to mark certain points in time. We add two Static routing API-relevant timing information: RouterEvaluationStart, time to start matching a request with registered router rules,
concepts
-
Router Timing
Performance entries include Static Routing timing fields.
-
Source comparison
Synthesise a mixed request log (fonts, API, image) and surface per-source latency stats — what you'd build from
matchedSourceType. -
All timing fields, mapped
Sample the current navigation and resource entries, format every router-relevant field, and render the eval→worker→fetch timeline.
-
Live RUM-style dashboard
Per-source-type tallies and percentages aggregated across every resource on the page. The shape of a real Real User Monitoring dashboard.
why it shipped
Service Worker provides timing information to mark certain points in time. This is exposed and used by the navigation timing API as well as the resource timing API. It currently records two times: