A declarative router for service workers.
Aims to simplify common fetch handlers & improve performance.
I'm looking for feedback on this API proposal.https://jakearchibald.com/2019/service-worker-declarative-router/ …
Note that the object-based approach differs from the class idea in that properties can now be combined: { endsWith: '.mp4', startsWith: 'foo' }
-
-
Yep, although you could do the same with the classes: new RouterIfURL({ endsWith, startsWith })
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.