{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/134","repository_url":"https://api.github.com/repos/GoogleChrome/sw-helpers","labels_url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/134/comments","events_url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/134/events","html_url":"https://github.com/GoogleChrome/sw-helpers/issues/134","id":200685265,"number":134,"title":"sw-lib Change cacheName","user":{"login":"gauntface","id":139760,"avatar_url":"https://avatars.githubusercontent.com/u/139760?v=3","gravatar_id":"","url":"https://api.github.com/users/gauntface","html_url":"https://github.com/gauntface","followers_url":"https://api.github.com/users/gauntface/followers","following_url":"https://api.github.com/users/gauntface/following{/other_user}","gists_url":"https://api.github.com/users/gauntface/gists{/gist_id}","starred_url":"https://api.github.com/users/gauntface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauntface/subscriptions","organizations_url":"https://api.github.com/users/gauntface/orgs","repos_url":"https://api.github.com/users/gauntface/repos","events_url":"https://api.github.com/users/gauntface/events{/privacy}","received_events_url":"https://api.github.com/users/gauntface/received_events","type":"User","site_admin":false},"labels":[{"id":352475040,"url":"https://api.github.com/repos/GoogleChrome/sw-helpers/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":517648717,"url":"https://api.github.com/repos/GoogleChrome/sw-helpers/labels/hackday","name":"hackday","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-13T17:33:26Z","updated_at":"2017-01-13T18:49:42Z","closed_at":null,"body":"- [ ] If the developer wanted to change where revisioned files are cached, how would they do it? At the moment the API doesn't allow it in sw-lib.\r\n- [ ] If I didn't set a cache name and then decided I wanted to, will the new cache copy over old requests? Would the old cache be automatically delete? Does this apply to both revisioned and unrevisioned?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/comments/272516125","html_url":"https://github.com/GoogleChrome/sw-helpers/issues/134#issuecomment-272516125","issue_url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/134","id":272516125,"user":{"login":"jeffposnick","id":1749548,"avatar_url":"https://avatars.githubusercontent.com/u/1749548?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffposnick","html_url":"https://github.com/jeffposnick","followers_url":"https://api.github.com/users/jeffposnick/followers","following_url":"https://api.github.com/users/jeffposnick/following{/other_user}","gists_url":"https://api.github.com/users/jeffposnick/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffposnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffposnick/subscriptions","organizations_url":"https://api.github.com/users/jeffposnick/orgs","repos_url":"https://api.github.com/users/jeffposnick/repos","events_url":"https://api.github.com/users/jeffposnick/events{/privacy}","received_events_url":"https://api.github.com/users/jeffposnick/received_events","type":"User","site_admin":false},"created_at":"2017-01-13T18:49:42Z","updated_at":"2017-01-13T18:49:42Z","body":"Modifying the name of an existing revisioned file cache seems super edge case-y to me. Maybe there's some reason I'm overlooking, but doesn't seem like something to prioritize.\r\n\r\nIf I did change the cache identifier, my inclination would be to not copy over the contents of the previous cache (assuming we could identify what the previous cache was), because I'd view changing the identifier as the developer intending to start fresh.\r\n\r\nYou can't really infer that any cache whose name matches a given pattern on the origin is going to be an older version of the revisioned cache, because it's common for developers to, for example, serve bunch of different development builds off of `localhost:8000`, and use different cache identifiers to keep cached material separate. If we tried to make guesses about whether other caches were old version or completely separate, it would be easy to guess incorrectly."}}
{"actor":{"display_login":"jeffposnick"}}