{"action":"created","issue":{"url":"https://api.github.com/repos/httpwg/http-extensions/issues/174","repository_url":"https://api.github.com/repos/httpwg/http-extensions","labels_url":"https://api.github.com/repos/httpwg/http-extensions/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/httpwg/http-extensions/issues/174/comments","events_url":"https://api.github.com/repos/httpwg/http-extensions/issues/174/events","html_url":"https://github.com/httpwg/http-extensions/issues/174","id":150084217,"number":174,"title":"HTTP/2 PUSH cache mechanism?","user":{"login":"bmeck","id":234659,"avatar_url":"https://avatars.githubusercontent.com/u/234659?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeck","html_url":"https://github.com/bmeck","followers_url":"https://api.github.com/users/bmeck/followers","following_url":"https://api.github.com/users/bmeck/following{/other_user}","gists_url":"https://api.github.com/users/bmeck/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeck/subscriptions","organizations_url":"https://api.github.com/users/bmeck/orgs","repos_url":"https://api.github.com/users/bmeck/repos","events_url":"https://api.github.com/users/bmeck/events{/privacy}","received_events_url":"https://api.github.com/users/bmeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-21T14:03:17Z","updated_at":"2016-04-21T14:17:00Z","closed_at":null,"body":"Unsure if this is the right place to ask. Is there an existing effort to make a header for HTTP/2's PUSH promises able to sync dependency trees?\r\n\r\nConsider:\r\n\r\n```html\r\n<!-- index.html -->\r\n<script type=\"module\" src=\"a\"></script>\r\n```\r\n\r\n```js\r\n// a\r\nimport \"b\";\r\n```\r\n\r\n```js\r\n// b\r\nimport \"c\";\r\n```\r\n\r\nAnd so on...\r\n\r\nRight now we can PUSH `a`, `b`, etc. when `index.html` is requested. However, when we receive an etag for `index.html` we are unsure what revision of dependencies are in the cache for `a`, `b`, etc.\r\n\r\nI saw CACHE_DIGEST, but was wondering if there was an effort to make dependency tree caching available to reduce chatter for PUSH of large/deep resources as are common in JS applications."},"comment":{"url":"https://api.github.com/repos/httpwg/http-extensions/issues/comments/212938504","html_url":"https://github.com/httpwg/http-extensions/issues/174#issuecomment-212938504","issue_url":"https://api.github.com/repos/httpwg/http-extensions/issues/174","id":212938504,"user":{"login":"gaperik","id":10134013,"avatar_url":"https://avatars.githubusercontent.com/u/10134013?v=3","gravatar_id":"","url":"https://api.github.com/users/gaperik","html_url":"https://github.com/gaperik","followers_url":"https://api.github.com/users/gaperik/followers","following_url":"https://api.github.com/users/gaperik/following{/other_user}","gists_url":"https://api.github.com/users/gaperik/gists{/gist_id}","starred_url":"https://api.github.com/users/gaperik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaperik/subscriptions","organizations_url":"https://api.github.com/users/gaperik/orgs","repos_url":"https://api.github.com/users/gaperik/repos","events_url":"https://api.github.com/users/gaperik/events{/privacy}","received_events_url":"https://api.github.com/users/gaperik/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T14:16:59Z","updated_at":"2016-04-21T14:16:59Z","body":"Ok, just saw your response; you are focusing on the http layer cache. \r\n\r\nyes, it's part of several discussions I would say. This was presented at Buenos Aires https://datatracker.ietf.org/doc/draft-kazuho-h2-cache-digest/. The use of Link header to inform a client about such stufff as an ODG has been mentioned. Expect it to be a piece of the puzzle here."}}