{"action":"created","issue":{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/149","labels_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/149/comments","events_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/149/events","html_url":"https://github.com/tatsuhiro-t/nghttp2/issues/149","id":56249451,"number":149,"title":"Push on nghttpx","user":{"login":"acesso","id":889754,"avatar_url":"https://avatars.githubusercontent.com/u/889754?v=3","gravatar_id":"","url":"https://api.github.com/users/acesso","html_url":"https://github.com/acesso","followers_url":"https://api.github.com/users/acesso/followers","following_url":"https://api.github.com/users/acesso/following{/other_user}","gists_url":"https://api.github.com/users/acesso/gists{/gist_id}","starred_url":"https://api.github.com/users/acesso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acesso/subscriptions","organizations_url":"https://api.github.com/users/acesso/orgs","repos_url":"https://api.github.com/users/acesso/repos","events_url":"https://api.github.com/users/acesso/events{/privacy}","received_events_url":"https://api.github.com/users/acesso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-02-02T15:23:51Z","updated_at":"2015-04-10T20:03:23Z","closed_at":null,"body":"Hello Tatsuhrio-t,\r\n\r\nSorry for opening this as a issue request but I could not find any other mean to contact you (twiter is blocked on my network) and github no longer have any PM feature. \r\n\r\nI´ve forked your project in order to to make a few tests and try to add some sort of server push funcionality on nghttpx by parsing the backend response data before send to frontend. In some point it could be able to push content if the backend reply with a corresponding 2xx and data, this should be true in most cases if nghttpx is running as default mode (reverse proxy).\r\n\r\nI know that you added Python API for those kind of situations but due my lack of knowledge in Python I could not use it as a proxy only as a server for static files.\r\n\r\nI´m not a C++ programer either but I really apretiate your inputs or guidelines on my idea.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/comments/91667169","html_url":"https://github.com/tatsuhiro-t/nghttp2/issues/149#issuecomment-91667169","issue_url":"https://api.github.com/repos/tatsuhiro-t/nghttp2/issues/149","id":91667169,"user":{"login":"gdrouet","id":2384248,"avatar_url":"https://avatars.githubusercontent.com/u/2384248?v=3","gravatar_id":"","url":"https://api.github.com/users/gdrouet","html_url":"https://github.com/gdrouet","followers_url":"https://api.github.com/users/gdrouet/followers","following_url":"https://api.github.com/users/gdrouet/following{/other_user}","gists_url":"https://api.github.com/users/gdrouet/gists{/gist_id}","starred_url":"https://api.github.com/users/gdrouet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdrouet/subscriptions","organizations_url":"https://api.github.com/users/gdrouet/orgs","repos_url":"https://api.github.com/users/gdrouet/repos","events_url":"https://api.github.com/users/gdrouet/events{/privacy}","received_events_url":"https://api.github.com/users/gdrouet/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T20:03:23Z","updated_at":"2015-04-10T20:03:23Z","body":"Hello,\r\n\r\nI like the idea of a push initiated by a proxy which intercepts the Link header. However I have a question about rel=preload.\r\n\r\nCurrently the W3C draft on server-hint (https://w3c.github.io/resource-hints/) defines \"preload\" as a property that characterize a resource not required to display the current page but another page the user might select. So \"preload\" resources should be loaded with a low priority. With HTTP/2, it seems it could be fine if the browser decides to load the resource later, taking advantage from multiplexing What do you think?\r\n\r\nIt seems that currently the draft does not already define a resource that should be pushed because it will be loaded as soon as possible by the loaded page. However, chrome already defined it as \"subresource\" (https://www.chromium.org/spdy/link-headers-and-server-hint/link-rel-subresource), which seems to be a more appropriated rel the proxy should check to know if the resource needs to be pushed or not.\r\n\r\nWhat do you think?"}}