{"action":"opened","issue":{"url":"https://api.github.com/repos/w3ctag/packaging-on-the-web/issues/14","labels_url":"https://api.github.com/repos/w3ctag/packaging-on-the-web/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/w3ctag/packaging-on-the-web/issues/14/comments","events_url":"https://api.github.com/repos/w3ctag/packaging-on-the-web/issues/14/events","html_url":"https://github.com/w3ctag/packaging-on-the-web/issues/14","id":53248333,"number":14,"title":"Zip CAN be streaming","user":{"login":"stain","id":253413,"avatar_url":"https://avatars.githubusercontent.com/u/253413?v=3","gravatar_id":"","url":"https://api.github.com/users/stain","html_url":"https://github.com/stain","followers_url":"https://api.github.com/users/stain/followers","following_url":"https://api.github.com/users/stain/following{/other_user}","gists_url":"https://api.github.com/users/stain/gists{/gist_id}","starred_url":"https://api.github.com/users/stain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stain/subscriptions","organizations_url":"https://api.github.com/users/stain/orgs","repos_url":"https://api.github.com/users/stain/repos","events_url":"https://api.github.com/users/stain/events{/privacy}","received_events_url":"https://api.github.com/users/stain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-02T11:32:26Z","updated_at":"2015-01-02T11:32:26Z","closed_at":null,"body":"It is wrongly argued in https://github.com/w3ctag/packaging-on-the-web#zip-as-a-packaging-format that:\r\n\r\n> The TAG discussed the use of zipped files as a packaging format. The main problem with using zips is that the central directory record, which lists the valid files within the zip archive, appears at the end of the zip. Implementations therefore need to wait until the whole zip is downloaded before the files within it can be read. This makes it unsuitable for a packaging format for efficient delivery of content on the web (the first of the requirements described above).\r\n\r\nZIP-files also start each file with a ZIP Entry. So there is no need for the central directory for anything except for knowing that there are no more files.\r\n\r\nhttps://gist.github.com/stain/46dd33fb49e843d333bd is an example in Java where a file is written each second."}}