{"action":"opened","issue":{"url":"https://api.github.com/repos/mozilla/webmaker-app/issues/1583","labels_url":"https://api.github.com/repos/mozilla/webmaker-app/issues/1583/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/webmaker-app/issues/1583/comments","events_url":"https://api.github.com/repos/mozilla/webmaker-app/issues/1583/events","html_url":"https://github.com/mozilla/webmaker-app/issues/1583","id":71655143,"number":1583,"title":"Add network cache expiration functionality to JS binding","user":{"login":"thisandagain","id":747641,"avatar_url":"https://avatars.githubusercontent.com/u/747641?v=3","gravatar_id":"","url":"https://api.github.com/users/thisandagain","html_url":"https://github.com/thisandagain","followers_url":"https://api.github.com/users/thisandagain/followers","following_url":"https://api.github.com/users/thisandagain/following{/other_user}","gists_url":"https://api.github.com/users/thisandagain/gists{/gist_id}","starred_url":"https://api.github.com/users/thisandagain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisandagain/subscriptions","organizations_url":"https://api.github.com/users/thisandagain/orgs","repos_url":"https://api.github.com/users/thisandagain/repos","events_url":"https://api.github.com/users/thisandagain/events{/privacy}","received_events_url":"https://api.github.com/users/thisandagain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/webmaker-app/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mozilla/webmaker-app/milestones/46","html_url":"https://github.com/mozilla/webmaker-app/milestones/Alpha%202/2","labels_url":"https://api.github.com/repos/mozilla/webmaker-app/milestones/46/labels","id":1058611,"number":46,"title":"Alpha 2/2","description":"","creator":{"login":"thisandagain","id":747641,"avatar_url":"https://avatars.githubusercontent.com/u/747641?v=3","gravatar_id":"","url":"https://api.github.com/users/thisandagain","html_url":"https://github.com/thisandagain","followers_url":"https://api.github.com/users/thisandagain/followers","following_url":"https://api.github.com/users/thisandagain/following{/other_user}","gists_url":"https://api.github.com/users/thisandagain/gists{/gist_id}","starred_url":"https://api.github.com/users/thisandagain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisandagain/subscriptions","organizations_url":"https://api.github.com/users/thisandagain/orgs","repos_url":"https://api.github.com/users/thisandagain/repos","events_url":"https://api.github.com/users/thisandagain/events{/privacy}","received_events_url":"https://api.github.com/users/thisandagain/received_events","type":"User","site_admin":false},"open_issues":36,"closed_issues":8,"state":"open","created_at":"2015-04-08T16:21:13Z","updated_at":"2015-04-28T17:43:53Z","due_on":"2015-05-08T07:00:00Z","closed_at":null},"comments":0,"created_at":"2015-04-28T17:43:53Z","updated_at":"2015-04-28T17:43:53Z","closed_at":null,"body":"Follow-on from initial work completed in #1509, we need a way to force expire the network cache for:\r\n- All cached resources (flush)\r\n- An individual resource or set of resources (expire)\r\n\r\nToday, you can use the `useCache` flag to bypass the network cache but this can be tedious:\r\n```js\r\napi({\r\n    uri: '/my/resource',\r\n    useCache: false\r\n}, function (err, body) {\r\n    // Do stuff!\r\n});\r\n```"}}