{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/resource-hints/issues/27","labels_url":"https://api.github.com/repos/w3c/resource-hints/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/w3c/resource-hints/issues/27/comments","events_url":"https://api.github.com/repos/w3c/resource-hints/issues/27/events","html_url":"https://github.com/w3c/resource-hints/pull/27","id":65794784,"number":27,"title":"(WIP) Replace loadpolicy with prefetch & prerender","user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-01T22:47:49Z","updated_at":"2015-04-02T21:39:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/w3c/resource-hints/pulls/27","html_url":"https://github.com/w3c/resource-hints/pull/27","diff_url":"https://github.com/w3c/resource-hints/pull/27.diff","patch_url":"https://github.com/w3c/resource-hints/pull/27.patch"},"body":"Preview: https://rawgit.com/w3c/resource-hints/prefetch-prerender/index.html\r\n\r\n- removed `loadpolicy` attribute\r\n- loadpolicy=next -> prerender\r\n- loadpolicy=next inert -> prefetch\r\n\r\nTODO's and open questions:\r\n- [ ] Define `as` attribute on prefetch\r\n- [ ] Define `as` on prerender? Or, should we keep it scoped to HTML documents? "},"comment":{"url":"https://api.github.com/repos/w3c/resource-hints/issues/comments/89052078","html_url":"https://github.com/w3c/resource-hints/pull/27#issuecomment-89052078","issue_url":"https://api.github.com/repos/w3c/resource-hints/issues/27","id":89052078,"user":{"login":"igrigorik","id":10652,"avatar_url":"https://avatars.githubusercontent.com/u/10652?v=3","gravatar_id":"","url":"https://api.github.com/users/igrigorik","html_url":"https://github.com/igrigorik","followers_url":"https://api.github.com/users/igrigorik/followers","following_url":"https://api.github.com/users/igrigorik/following{/other_user}","gists_url":"https://api.github.com/users/igrigorik/gists{/gist_id}","starred_url":"https://api.github.com/users/igrigorik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrigorik/subscriptions","organizations_url":"https://api.github.com/users/igrigorik/orgs","repos_url":"https://api.github.com/users/igrigorik/repos","events_url":"https://api.github.com/users/igrigorik/events{/privacy}","received_events_url":"https://api.github.com/users/igrigorik/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T21:39:38Z","updated_at":"2015-04-02T21:39:38Z","body":"Any opinions / suggestions on prerender + `as`? \r\n\r\nPractically speaking, today nothing stops someone from specifying a non-HTML resource via `<link rel=prerender>`, it's just that existing UA's that support page prerendering won't do anything with the response. So, in effect, such a fetch is basically equivalent to `<link rel=prefetch>`.\r\n\r\nIn the spirit of keeping things simple, I propose we omit \"as\" on prerender and implicitly restrict it to HTML and page prerendering use cases. Nothing stops us from expanding this functionality in the future by adding `as` support. \r\n\r\nThoughts?"}}