Re: [w3c/ServiceWorker] Declarative routing (#1373)

> * I'd like to remove the `startsWith` and `endsWith` things in favour of just having a glob syntax. Fewer API calls, less verbose syntax, and more flexible.

This has come up a few times in this issue. I'm not against adding it at some point, but it feels like a big contentious thing to standardise for v1.

> * `ignoreSearch` is a confusing name (why not `ignoreQuery`)?

As @WORMSS says, it's for consistency with the rest of the platform. `url.search`, `cache.match(url, { ignoreSearch: true })` etc etc.

> * The name `router.get` is confusing because a method called "get" implies it's going to return some information out of the router,

Yeah, maybe. Although this is how most node routers seem to do it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1373#issuecomment-517141186

Received on Thursday, 1 August 2019 06:36:31 UTC