{"action":"created","issue":{"url":"https://api.github.com/repos/quodroc/HumbleNewTabPage/issues/30","labels_url":"https://api.github.com/repos/quodroc/HumbleNewTabPage/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/quodroc/HumbleNewTabPage/issues/30/comments","events_url":"https://api.github.com/repos/quodroc/HumbleNewTabPage/issues/30/events","html_url":"https://github.com/quodroc/HumbleNewTabPage/issues/30","id":64947613,"number":30,"title":"Implement caching to display the page instantly without brief flash of an empty page","user":{"login":"tophf","id":1310400,"avatar_url":"https://avatars.githubusercontent.com/u/1310400?v=3","gravatar_id":"","url":"https://api.github.com/users/tophf","html_url":"https://github.com/tophf","followers_url":"https://api.github.com/users/tophf/followers","following_url":"https://api.github.com/users/tophf/following{/other_user}","gists_url":"https://api.github.com/users/tophf/gists{/gist_id}","starred_url":"https://api.github.com/users/tophf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tophf/subscriptions","organizations_url":"https://api.github.com/users/tophf/orgs","repos_url":"https://api.github.com/users/tophf/repos","events_url":"https://api.github.com/users/tophf/events{/privacy}","received_events_url":"https://api.github.com/users/tophf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-28T14:25:55Z","updated_at":"2015-05-20T12:09:27Z","closed_at":null,"body":"Here's [a proof-of-concept](https://github.com/quodroc/HumbleNewTabPage/compare/master...tophf:cache) which reduces the delay greatly (in most cases to zero from what I see here), but it doesn't update the dynamic items, of course, due to being primitive.\r\n\r\nCaching isn't the only possible solution, though. It's also possible to construct the page entirely in js without waiting for the empty page with placeholder elements to load like it's currently done."},"comment":{"url":"https://api.github.com/repos/quodroc/HumbleNewTabPage/issues/comments/103859893","html_url":"https://github.com/quodroc/HumbleNewTabPage/issues/30#issuecomment-103859893","issue_url":"https://api.github.com/repos/quodroc/HumbleNewTabPage/issues/30","id":103859893,"user":{"login":"tophf","id":1310400,"avatar_url":"https://avatars.githubusercontent.com/u/1310400?v=3","gravatar_id":"","url":"https://api.github.com/users/tophf","html_url":"https://github.com/tophf","followers_url":"https://api.github.com/users/tophf/followers","following_url":"https://api.github.com/users/tophf/following{/other_user}","gists_url":"https://api.github.com/users/tophf/gists{/gist_id}","starred_url":"https://api.github.com/users/tophf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tophf/subscriptions","organizations_url":"https://api.github.com/users/tophf/orgs","repos_url":"https://api.github.com/users/tophf/repos","events_url":"https://api.github.com/users/tophf/events{/privacy}","received_events_url":"https://api.github.com/users/tophf/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T12:09:27Z","updated_at":"2015-05-20T12:09:27Z","body":"More info: it's possible (and recommended) to convert a background page to an [Event page](https://developer.chrome.com/extensions/event_pages#transition) with `persistent:false`."}}