v149 · Performance · Service Workers
Rule Builder
Build addRoutes() rules for the Service Worker Static Routing API interactively. Each rule maps a condition to a source. The builder generates the install-event code and previews what workerMatchedRouterSourceList and workerFinalRouterSourceList will contain on matching requests.
Add a routing rule
Rules (0)
- No rules yet — add one on the left.
Generated install handler
// Add rules above to generate code
Timing field preview — what PerformanceResourceTiming will show
Add rules and hover a rule to preview its timing fields.
see also
- Router Timing Inspector — live PerformanceObserver readings
- Route Source Visualizer — matched vs final source breakdown
- Performance Dashboard — RUM-style batch simulation