{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/164","repository_url":"https://api.github.com/repos/GoogleChrome/sw-precache","labels_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/164/comments","events_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/164/events","html_url":"https://github.com/GoogleChrome/sw-precache/issues/164","id":174292972,"number":164,"title":"Revamp the names of confusing options","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},"labels":[{"url":"https://api.github.com/repos/GoogleChrome/sw-precache/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-31T14:46:04Z","updated_at":"2016-08-31T21:09:56Z","closed_at":null,"body":"There are a few options whose names made sense to me initially, but are in retrospect not carefully named. I'd like to start by adding in aliases for those options, keeping the old ones functional but logging a deprecation message during build time. And then theoretically remove them in the next major revision. (Or keep them working, but remove them from the documentation?)\r\n\r\nI was thinking of the following, and I'm open to suggestions:\r\n\r\n- `staticFileGlobs` ⇒ `filesToCache`\r\n- `dynamicUrlToDependencies` ⇒ `serverRenderedUrls`\r\n- `navigateFallback` ⇒ `defaultRoute`\r\n- `navigateFallbackWhitelist` ⇒ `defaultRouteWhitelist`\r\n- `replacePrefix`, `stripPrefix`, `stripPrefixMulti` ⇒ try to wrap these up into a single `modifyUrlPrefix` option\r\n\r\nCC: @addyosmani @gauntface @jpmedley for thoughts."},"comment":{"url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/comments/243902826","html_url":"https://github.com/GoogleChrome/sw-precache/issues/164#issuecomment-243902826","issue_url":"https://api.github.com/repos/GoogleChrome/sw-precache/issues/164","id":243902826,"user":{"login":"jpmedley","id":8204171,"avatar_url":"https://avatars.githubusercontent.com/u/8204171?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmedley","html_url":"https://github.com/jpmedley","followers_url":"https://api.github.com/users/jpmedley/followers","following_url":"https://api.github.com/users/jpmedley/following{/other_user}","gists_url":"https://api.github.com/users/jpmedley/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmedley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmedley/subscriptions","organizations_url":"https://api.github.com/users/jpmedley/orgs","repos_url":"https://api.github.com/users/jpmedley/repos","events_url":"https://api.github.com/users/jpmedley/events{/privacy}","received_events_url":"https://api.github.com/users/jpmedley/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T21:09:55Z","updated_at":"2016-08-31T21:09:55Z","body":"I like all of these except for the navigateFallback and\nnavigateFallbgackWhitelist.\n\nIf I were completely new to the tool, I may not know what a route is. But I\ncan work out what navigateFallback probably is.\n\nJoe Medley | Technical Writer, Chrome DevRel | jmedley@google.com |\n 816-678-7195\n*If an API's not documented it doesn't exist.*\n\nOn Wed, Aug 31, 2016 at 7:46 AM, Jeffrey Posnick <notifications@github.com>\nwrote:\n\n> There are a few options whose names made sense to me initially, but are in\n> retrospect not carefully named. I'd like to start by adding in aliases for\n> those options, keeping the old ones functional but logging a deprecation\n> message during build time. And then theoretically remove them in the next\n> major revision. (Or keep them working, but remove them from the\n> documentation?)\n>\n> I was thinking of the following, and I'm open to suggestions:\n>\n>    - staticFileGlobs ⇒ filesToCache\n>    - dynamicUrlToDependencies ⇒ serverRenderedUrls\n>    - navigateFallback ⇒ defaultRoute\n>    - navigateFallbackWhitelist ⇒ defaultRouteWhitelist\n>    - replacePrefix, stripPrefix, stripPrefixMulti ⇒ try to wrap these up\n>    into a single modifyUrlPrefix option\n>\n> CC: @addyosmani <https://github.com/addyosmani> @gauntface\n> <https://github.com/gauntface> @jpmedley <https://github.com/jpmedley>\n> for thoughts.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/GoogleChrome/sw-precache/issues/164>, or mute the\n> thread\n> <https://github.com/notifications/unsubscribe-auth/AH0vizl2YkfX-bZ37QYizoB0p1BD5LRwks5qlZOugaJpZM4JxsjG>\n> .\n>\n"}}
{"actor":{"display_login":"jpmedley"}}