Re: [w3c/ServiceWorker] scope pattern matching (#1468)

Latest proposal is becoming a full-fledged URL matcher.
This seems a nice addition to the platform, for instance for fetch event handlers.
I am wondering whether static routes could use it.

I'd like to better understand the benefits of reusing the URL matcher for service worker matching though, say compared to a dedicated API. In particular, the envisioned extensions to the service worker matching algorithm seems fairly limited, and for good reasons.
As a developer, I would probably not like to look at the API, start thinking about all the potential uses of passing an URL matcher, before actually realising that I can only use a very restricted set of URL matchers.

-- 
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/1468#issuecomment-706981605

Received on Monday, 12 October 2020 08:55:56 UTC