{"action":"created","issue":{"url":"https://api.github.com/repos/icing/mod_h2/issues/38","labels_url":"https://api.github.com/repos/icing/mod_h2/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/icing/mod_h2/issues/38/comments","events_url":"https://api.github.com/repos/icing/mod_h2/issues/38/events","html_url":"https://github.com/icing/mod_h2/issues/38","id":97464015,"number":38,"title":"Feature: Link rel=preload support for H2 push","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":[{"url":"https://api.github.com/repos/icing/mod_h2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-07-27T13:29:51Z","updated_at":"2015-11-23T19:39:39Z","closed_at":null,"body":"`Link: <URL>; rel=preload` \r\n\r\n- hints the server to preload the resource into its cache\r\n- optionally the server may initiate server push on behalf of the application\r\n- hints the client to initiate the request early (if not pushed)\r\n\r\nBackground: https://github.com/h2o/h2o/pull/133#issuecomment-73458389\r\nSpec: http://w3c.github.io/preload/"},"comment":{"url":"https://api.github.com/repos/icing/mod_h2/issues/comments/159040527","html_url":"https://github.com/icing/mod_h2/issues/38#issuecomment-159040527","issue_url":"https://api.github.com/repos/icing/mod_h2/issues/38","id":159040527,"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-11-23T19:39:39Z","updated_at":"2015-11-23T19:39:39Z","body":"@icing not sure I follow.. Are you describing [h2 push -> apache proxy -> client] scenario? As in, if the origin is talking h2 to the proxy and initiates push then you'll drop the PUSH_PROMISE?\r\n\r\n> As to assign priorities to different as values, do you have some recommendations for that? I hope I can void UA sniffing for this... ;-)\r\n\r\n- Process Link: rel=preload and emit PUSH_PROMISE\r\n- Fetch resource from cache/origin and inspect content-type to determine priority\r\n - use internal API (https://github.com/tatsuhiro-t/nghttp2/issues/429) to prioritize pushed resources wrt to the parent. \r\n\r\nSeems sufficient and matches h2o behavior?\r\n"}}