{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/wpub/issues/198","repository_url":"https://api.github.com/repos/w3c/wpub","labels_url":"https://api.github.com/repos/w3c/wpub/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/w3c/wpub/issues/198/comments","events_url":"https://api.github.com/repos/w3c/wpub/issues/198/events","html_url":"https://github.com/w3c/wpub/issues/198","id":323359148,"number":198,"title":"Is an exhaustive \"resource list\" required to create a Web Publication?","user":{"login":"BigBlueHat","id":43209,"avatar_url":"https://avatars1.githubusercontent.com/u/43209?v=4","gravatar_id":"","url":"https://api.github.com/users/BigBlueHat","html_url":"https://github.com/BigBlueHat","followers_url":"https://api.github.com/users/BigBlueHat/followers","following_url":"https://api.github.com/users/BigBlueHat/following{/other_user}","gists_url":"https://api.github.com/users/BigBlueHat/gists{/gist_id}","starred_url":"https://api.github.com/users/BigBlueHat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigBlueHat/subscriptions","organizations_url":"https://api.github.com/users/BigBlueHat/orgs","repos_url":"https://api.github.com/users/BigBlueHat/repos","events_url":"https://api.github.com/users/BigBlueHat/events{/privacy}","received_events_url":"https://api.github.com/users/BigBlueHat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-15T19:51:56Z","updated_at":"2018-05-15T21:05:56Z","closed_at":null,"author_association":"MEMBER","body":"This was another topic which surfaced during the #193 discussions.\r\n\r\n@HadrienGardeur [posed some concerns](https://github.com/w3c/wpub/issues/193#issuecomment-389163035) to a [\"dependency gathering\" approach](https://github.com/w3c/wpub/issues/193#issuecomment-389163035) proposed by @BigBlueHat.\r\n\r\nThere are several potential consumption scenarios which should be considered:\r\n#### Current:\r\n   - reading through a Web browser (i.e. follow a link to a publication address)\r\n   - caching and/or offlining the publication in a browser\r\n#### Future:\r\n   - creation of a packaged publication (see https://github.com/w3c/pwpub/)\r\n\r\n---\r\n\r\n@HadrienGardeur's concerns to the gathering process are below...\r\n> -   conceptually, this means that the bounds of the resources are limited to the reading order (there's no way to indicate that a resource is part of the publication but not in the reading order anymore)\r\n> -   this could trigger the download of very large resources (HD videos) or resources that are useless for rendering (analytics scripts) that would otherwise have been excluded by the author when caching and/or packaging a publication\r\n> -   to cache or package a publication, you need to render every single resource from the reading order, which is going to be very slow and CPU+memory intensive (we've experimented with background rendering in Readium-2 and limit things to only 3 resources)\r\n> -   not all UAs may be able to intercept network requests to cache or package them, this would exclude native mobile apps for example from supporting WPs properly\r\n> -   UAs won't be able to do intelligent preloading on their own (for instance by loading fonts in cache in advance)"},"comment":{"url":"https://api.github.com/repos/w3c/wpub/issues/comments/389313297","html_url":"https://github.com/w3c/wpub/issues/198#issuecomment-389313297","issue_url":"https://api.github.com/repos/w3c/wpub/issues/198","id":389313297,"user":{"login":"BigBlueHat","id":43209,"avatar_url":"https://avatars1.githubusercontent.com/u/43209?v=4","gravatar_id":"","url":"https://api.github.com/users/BigBlueHat","html_url":"https://github.com/BigBlueHat","followers_url":"https://api.github.com/users/BigBlueHat/followers","following_url":"https://api.github.com/users/BigBlueHat/following{/other_user}","gists_url":"https://api.github.com/users/BigBlueHat/gists{/gist_id}","starred_url":"https://api.github.com/users/BigBlueHat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BigBlueHat/subscriptions","organizations_url":"https://api.github.com/users/BigBlueHat/orgs","repos_url":"https://api.github.com/users/BigBlueHat/repos","events_url":"https://api.github.com/users/BigBlueHat/events{/privacy}","received_events_url":"https://api.github.com/users/BigBlueHat/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T21:05:56Z","updated_at":"2018-05-15T21:05:56Z","author_association":"MEMBER","body":"> not all UAs may be able to intercept network requests to cache or package them, this would exclude native mobile apps for example from supporting WPs properly\r\n\r\nIn as much as I'm expecting any supporting Web Publication UAs to be Web-connected (at least at first request of the publication address), then all such UAs would have the ability to:\r\na) retrieve the resources as needed (per HTML on the Web)\r\nand\r\nb) store them in a cache (or package) to display should the network become unavailable."}}
{"actor":{"display_login":"BigBlueHat"}}