{"action":"created","issue":{"url":"https://api.github.com/repos/robdodson/SimpleServiceWorker/issues/1","labels_url":"https://api.github.com/repos/robdodson/SimpleServiceWorker/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/robdodson/SimpleServiceWorker/issues/1/comments","events_url":"https://api.github.com/repos/robdodson/SimpleServiceWorker/issues/1/events","html_url":"https://github.com/robdodson/SimpleServiceWorker/issues/1","id":58683276,"number":1,"title":"Direction","user":{"login":"robdodson","id":1066253,"avatar_url":"https://avatars.githubusercontent.com/u/1066253?v=3","gravatar_id":"","url":"https://api.github.com/users/robdodson","html_url":"https://github.com/robdodson","followers_url":"https://api.github.com/users/robdodson/followers","following_url":"https://api.github.com/users/robdodson/following{/other_user}","gists_url":"https://api.github.com/users/robdodson/gists{/gist_id}","starred_url":"https://api.github.com/users/robdodson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robdodson/subscriptions","organizations_url":"https://api.github.com/users/robdodson/orgs","repos_url":"https://api.github.com/users/robdodson/repos","events_url":"https://api.github.com/users/robdodson/events{/privacy}","received_events_url":"https://api.github.com/users/robdodson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-24T02:07:19Z","updated_at":"2015-04-01T15:26:12Z","closed_at":null,"body":"Just started to get the ball rolling and already ran into some issues. Not sure why, but the SW doesn't seem to be caching the resources. It's been a while since I've worked with SW so maybe @gauntface can point out where I've gone wrong?\r\n\r\nBut I figured it'd be good to actually ask the question, what should this code lab accomplish?\r\n\r\nI was thinking, the simplest thing would be to just show how to cache static assets, like 1 page from a photo blog. Then the participant could go find some of their own images they'd like to cache, add those to the `urlsToCache` Array, and see those get cached as well.\r\n\r\nIf we want to take it a step further, we can add dynamic caching, basically doing exactly what Jake did in trained-to-thrill, where we hit some image API that updates frequently (Flickr) and cache the responses."},"comment":{"url":"https://api.github.com/repos/robdodson/SimpleServiceWorker/issues/comments/88522452","html_url":"https://github.com/robdodson/SimpleServiceWorker/issues/1#issuecomment-88522452","issue_url":"https://api.github.com/repos/robdodson/SimpleServiceWorker/issues/1","id":88522452,"user":{"login":"robdodson","id":1066253,"avatar_url":"https://avatars.githubusercontent.com/u/1066253?v=3","gravatar_id":"","url":"https://api.github.com/users/robdodson","html_url":"https://github.com/robdodson","followers_url":"https://api.github.com/users/robdodson/followers","following_url":"https://api.github.com/users/robdodson/following{/other_user}","gists_url":"https://api.github.com/users/robdodson/gists{/gist_id}","starred_url":"https://api.github.com/users/robdodson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robdodson/subscriptions","organizations_url":"https://api.github.com/users/robdodson/orgs","repos_url":"https://api.github.com/users/robdodson/repos","events_url":"https://api.github.com/users/robdodson/events{/privacy}","received_events_url":"https://api.github.com/users/robdodson/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T15:26:12Z","updated_at":"2015-04-01T15:26:12Z","body":"@gauntface oh it was just me being dumb. I implemented an `install` handler but forgot to put in a `fetch` handler to serve the resources from the cache :tongue: "}}