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.
Status
Limited availability
MDN documentation
Specifications
- Service Workers Nightly, from Web Applications Working Group (W3C).
Browser support
- Chrome 123 Released on 2024-03-19
- Chrome Android 123 Released on 2024-03-19
- Edge 123 Released on 2024-03-22
- Firefox ❌ See bugzil.la/1855580
- Firefox for Android ❌ See bugzil.la/1855580
- Safari ❌ See webkit.org/b/269893
- Safari on iOS ❌ See webkit.org/b/269893
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist