Comment Comment by mark_and_sweep Sorry, what? I never mentioned lock-in.I assume by Service Worker API, you mean FetchEvent? [1] As in:self.addEventListener("fetch", (event) => {});That is a web standard indeed, but not one that was designed for use as a general-purpose HTTP handler, but rather for use in a Service Worker proxy.[1] https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent parent mark_and_sweep 6 months ago
I assume by Service Worker API, you mean FetchEvent? [1] As in:
self.addEventListener("fetch", (event) => {});
That is a web standard indeed, but not one that was designed for use as a general-purpose HTTP handler, but rather for use in a Service Worker proxy.
[1] https://developer.mozilla.org/en-US/docs/Web/API/FetchEvent