Limited Availability
Workers
id: service-workers-static-routes
Service workers static routing
The service worker install event's
addRoutes method declares resource paths that should either be fetched from the network or the cache, to bypass the service worker and improve performance.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
123
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
123
Supported
Mobile Browser Engine Support
Chrome Android
123
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys: