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

One thing that isn't clear to me yet: 

```js
router.add(
  new RouterIfURLPrefix('/avatars/'),
  new RouterSourceCache(),
);

router.add(
  new RouterIfURLSuffix('.jpg'),
  new RouterSourceNetwork(),
);
```

If `/avatars/foo.jpg` is requested, but it isn't in the cache, what happens? Does the request fall through to the next route?

-- 
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-451193966

Received on Thursday, 3 January 2019 16:20:09 UTC