{"action":"created","issue":{"url":"https://api.github.com/repos/Jimdo/repos/issues/3","repository_url":"https://api.github.com/repos/Jimdo/repos","labels_url":"https://api.github.com/repos/Jimdo/repos/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Jimdo/repos/issues/3/comments","events_url":"https://api.github.com/repos/Jimdo/repos/issues/3/events","html_url":"https://github.com/Jimdo/repos/pull/3","id":168603826,"number":3,"title":"WIP: Cache GitHub responses","user":{"login":"seiffert","id":1111118,"avatar_url":"https://avatars.githubusercontent.com/u/1111118?v=3","gravatar_id":"","url":"https://api.github.com/users/seiffert","html_url":"https://github.com/seiffert","followers_url":"https://api.github.com/users/seiffert/followers","following_url":"https://api.github.com/users/seiffert/following{/other_user}","gists_url":"https://api.github.com/users/seiffert/gists{/gist_id}","starred_url":"https://api.github.com/users/seiffert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiffert/subscriptions","organizations_url":"https://api.github.com/users/seiffert/orgs","repos_url":"https://api.github.com/users/seiffert/repos","events_url":"https://api.github.com/users/seiffert/events{/privacy}","received_events_url":"https://api.github.com/users/seiffert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Jimdo/repos/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-01T09:27:44Z","updated_at":"2016-08-01T10:34:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Jimdo/repos/pulls/3","html_url":"https://github.com/Jimdo/repos/pull/3","diff_url":"https://github.com/Jimdo/repos/pull/3.diff","patch_url":"https://github.com/Jimdo/repos/pull/3.patch"},"body":"In order to save API requests.\r\n\r\nThe library `httpcache` is recommented in the [GitHub library's README](https://github.com/google/go-github/tree/331e3f619021723128623d4db765a81ba1e1f81e#conditional-requests)."},"comment":{"url":"https://api.github.com/repos/Jimdo/repos/issues/comments/236546390","html_url":"https://github.com/Jimdo/repos/pull/3#issuecomment-236546390","issue_url":"https://api.github.com/repos/Jimdo/repos/issues/3","id":236546390,"user":{"login":"seiffert","id":1111118,"avatar_url":"https://avatars.githubusercontent.com/u/1111118?v=3","gravatar_id":"","url":"https://api.github.com/users/seiffert","html_url":"https://github.com/seiffert","followers_url":"https://api.github.com/users/seiffert/followers","following_url":"https://api.github.com/users/seiffert/following{/other_user}","gists_url":"https://api.github.com/users/seiffert/gists{/gist_id}","starred_url":"https://api.github.com/users/seiffert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiffert/subscriptions","organizations_url":"https://api.github.com/users/seiffert/orgs","repos_url":"https://api.github.com/users/seiffert/repos","events_url":"https://api.github.com/users/seiffert/events{/privacy}","received_events_url":"https://api.github.com/users/seiffert/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T10:34:00Z","updated_at":"2016-08-01T10:34:00Z","body":"With the debug logging, one can see that the repo list requests are actually being cached while the requests that retrieve `.travis.yml` are not. Testing this manually revealed that the Etags of subsequent responses from that API differ without the file being changed. I've opened a support issue at GitHub asking for the reason for this."}}
{"actor":{"display_login":"seiffert"}}