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/ …
-
-
hmm, starting to get quite long-winded
-
I'd err on the side of being verbose for explicitness and clarity.
- 1 more reply
New conversation -
-
-
Since the context is known, why not just 'URLStartsWith(...)'?
-
Because this only makes sense in the context of a service worker router.
End of conversation
New conversation -
-
-
RouterIfURLStartsWithAndDontYouForgetItYesSiree
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.