- From: Jake Archibald <notifications@github.com>
- Date: Fri, 31 Jul 2015 04:01:31 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Friday, 31 July 2015 11:02:05 UTC
Yeah, @annevk's use-cases are right. More specifically: * User navigates to an image. No matching cache entry, network fails. I want to serve my "Ooops, not available offline" page * Page loads same image as an image. No matching cache entry, network fails. I want to serve a placeholder image. Also if [preload can set context](https://w3c.github.io/preload/#dfn-as), we should be able to do it via `new Request` too, although it's not clear to me if `<link rel="preload" href="/blah" as="image">` produces a request with context "image", or a request with context "preload" that otherwise looks like an image request (`Accept` etc). --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/93#issuecomment-126653941
Received on Friday, 31 July 2015 11:02:05 UTC