{"action":"created","issue":{"url":"https://api.github.com/repos/StyleCI/StyleCI/issues/64","labels_url":"https://api.github.com/repos/StyleCI/StyleCI/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/StyleCI/StyleCI/issues/64/comments","events_url":"https://api.github.com/repos/StyleCI/StyleCI/issues/64/events","html_url":"https://github.com/StyleCI/StyleCI/issues/64","id":56822054,"number":64,"title":"Is 24 Hours Too Long To Cache The GitHub Repo List","user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-06T15:02:26Z","updated_at":"2015-02-06T15:06:30Z","closed_at":null,"body":"We#re caching the list of the user's repos for 24 hours. Is this too long? Maybe 6 or 12 hours would be a better idea. The actual api call if the user's repos haven't actually changed is quite cheap given that we're still using http etag based caching."},"comment":{"url":"https://api.github.com/repos/StyleCI/StyleCI/issues/comments/73249974","html_url":"https://github.com/StyleCI/StyleCI/issues/64#issuecomment-73249974","issue_url":"https://api.github.com/repos/StyleCI/StyleCI/issues/64","id":73249974,"user":{"login":"MichaelBanks","id":3164166,"avatar_url":"https://avatars.githubusercontent.com/u/3164166?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelBanks","html_url":"https://github.com/MichaelBanks","followers_url":"https://api.github.com/users/MichaelBanks/followers","following_url":"https://api.github.com/users/MichaelBanks/following{/other_user}","gists_url":"https://api.github.com/users/MichaelBanks/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelBanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelBanks/subscriptions","organizations_url":"https://api.github.com/users/MichaelBanks/orgs","repos_url":"https://api.github.com/users/MichaelBanks/repos","events_url":"https://api.github.com/users/MichaelBanks/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelBanks/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T15:06:30Z","updated_at":"2015-02-06T15:06:30Z","body":"So.. adapt the cache time based on how many times you're hitting the API"}}