- From: Adrian Holovaty <notifications@github.com>
- Date: Sun, 27 Dec 2015 12:57:55 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Sunday, 27 December 2015 20:58:28 UTC
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