Re: [ServiceWorker] Allow custom cache keys for request caching (#805)

Well, I just had a Twitter back-and-forth with @slightlyoff and he pointed out that this can be achieved by creating a custom request, then caching that:

```javascript
let request = new Request("<simplified URL here>");
cache.put(request, response);
```

With this solution in mind, I'm not sure whether this particular issue needs to stay open. But I'll leave it for the maintainers to decide...!

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/805#issuecomment-167440862

Received on Sunday, 27 December 2015 20:58:28 UTC