{"action":"opened","issue":{"url":"https://api.github.com/repos/t2ym/thin-hook/issues/259","repository_url":"https://api.github.com/repos/t2ym/thin-hook","labels_url":"https://api.github.com/repos/t2ym/thin-hook/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/t2ym/thin-hook/issues/259/comments","events_url":"https://api.github.com/repos/t2ym/thin-hook/issues/259/events","html_url":"https://github.com/t2ym/thin-hook/issues/259","id":320511339,"number":259,"title":"[cache-bundle] Preload caches from cache-bundle.json","user":{"login":"t2ym","id":16043714,"avatar_url":"https://avatars0.githubusercontent.com/u/16043714?v=4","gravatar_id":"","url":"https://api.github.com/users/t2ym","html_url":"https://github.com/t2ym","followers_url":"https://api.github.com/users/t2ym/followers","following_url":"https://api.github.com/users/t2ym/following{/other_user}","gists_url":"https://api.github.com/users/t2ym/gists{/gist_id}","starred_url":"https://api.github.com/users/t2ym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t2ym/subscriptions","organizations_url":"https://api.github.com/users/t2ym/orgs","repos_url":"https://api.github.com/users/t2ym/repos","events_url":"https://api.github.com/users/t2ym/events{/privacy}","received_events_url":"https://api.github.com/users/t2ym/received_events","type":"User","site_admin":false},"labels":[{"id":524923563,"url":"https://api.github.com/repos/t2ym/thin-hook/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":762125349,"url":"https://api.github.com/repos/t2ym/thin-hook/labels/optimization","name":"optimization","color":"159189","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-05T13:56:24Z","updated_at":"2018-05-05T13:56:24Z","closed_at":null,"author_association":"OWNER","body":"[cache-bundle] Preload caches from `cache-bundle.json`\r\n\r\n## Steps to update cache-bundle.json\r\n1. {`demo/original-index.html`} Update version parameter in `hook.min.js` script src attribute\r\n2. {CLI} `gulp demo`\r\n3. {Browser} Clear the caches and the service worker\r\n4. {CLI} `npm upload`\r\n5. {Browser} Load the demo `/components/thin-hook/demo/`\r\n6. {Browser} Wait for the load completion\r\n7. {Browser} Navigate to view2 from the app menu\r\n8. {Browser} Navigate to view3 from the app menu\r\n9. {Browser} Navigate to view1 from the app menu\r\n10. {Browser} Navigate to `/components/thin-hook/demo/?cache-bundle=save`\r\n11. {Browser} Wait for the load completion\r\n12. {CLI} Check if `npm upload` has uploaded and saved `demo/cache-bundle.json` with the correct version\r\n13. {Browser} Clear the caches and the service worker\r\n14. {Browser} Load the demo `/components/thin-hook/demo/`\r\n\r\n## Notes\r\n- `npm upload` shares `/errorReport.json` for uploading `cache-config.json` as well, which is just a convenient and simple way of uploading service implementation\r\n\r\n## Knows Issue(s)\r\n- [ ] In view1, dynamic SVG images in `embed` elements with dynamic setting of `src` attribute/property are not shown\r\n"}}
{"actor":{"display_login":"t2ym"}}