{"action":"opened","issue":{"url":"https://api.github.com/repos/sveltejs/sapper/issues/433","repository_url":"https://api.github.com/repos/sveltejs/sapper","labels_url":"https://api.github.com/repos/sveltejs/sapper/issues/433/labels{/name}","comments_url":"https://api.github.com/repos/sveltejs/sapper/issues/433/comments","events_url":"https://api.github.com/repos/sveltejs/sapper/issues/433/events","html_url":"https://github.com/sveltejs/sapper/issues/433","id":358671478,"node_id":"MDU6SXNzdWUzNTg2NzE0Nzg=","number":433,"title":"Two page loads needed for offline support to work","user":{"login":"ile","id":433707,"node_id":"MDQ6VXNlcjQzMzcwNw==","avatar_url":"https://avatars1.githubusercontent.com/u/433707?v=4","gravatar_id":"","url":"https://api.github.com/users/ile","html_url":"https://github.com/ile","followers_url":"https://api.github.com/users/ile/followers","following_url":"https://api.github.com/users/ile/following{/other_user}","gists_url":"https://api.github.com/users/ile/gists{/gist_id}","starred_url":"https://api.github.com/users/ile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ile/subscriptions","organizations_url":"https://api.github.com/users/ile/orgs","repos_url":"https://api.github.com/users/ile/repos","events_url":"https://api.github.com/users/ile/events{/privacy}","received_events_url":"https://api.github.com/users/ile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T15:18:43Z","updated_at":"2018-09-10T15:18:43Z","closed_at":null,"author_association":"NONE","body":"I first created this issue here: https://github.com/sveltejs/svelte/issues/1583\r\n\r\nThe problem: the offline support (with service workers) seem to work only after two loads of the same webpage. That is, the initial load + a refresh.\r\n\r\nThis happens at least with the default Sapper template (Borat).\r\n\r\nThis can be tested easily with the Chrome devtools/offline checkbox.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"ile"}}