{"action":"created","issue":{"url":"https://api.github.com/repos/jayfunk/pocketguide-web-server/issues/1","repository_url":"https://api.github.com/repos/jayfunk/pocketguide-web-server","labels_url":"https://api.github.com/repos/jayfunk/pocketguide-web-server/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jayfunk/pocketguide-web-server/issues/1/comments","events_url":"https://api.github.com/repos/jayfunk/pocketguide-web-server/issues/1/events","html_url":"https://github.com/jayfunk/pocketguide-web-server/issues/1","id":143249053,"number":1,"title":"Record Caching","user":{"login":"jayfunk","id":2545666,"avatar_url":"https://avatars.githubusercontent.com/u/2545666?v=3","gravatar_id":"","url":"https://api.github.com/users/jayfunk","html_url":"https://github.com/jayfunk","followers_url":"https://api.github.com/users/jayfunk/followers","following_url":"https://api.github.com/users/jayfunk/following{/other_user}","gists_url":"https://api.github.com/users/jayfunk/gists{/gist_id}","starred_url":"https://api.github.com/users/jayfunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayfunk/subscriptions","organizations_url":"https://api.github.com/users/jayfunk/orgs","repos_url":"https://api.github.com/users/jayfunk/repos","events_url":"https://api.github.com/users/jayfunk/events{/privacy}","received_events_url":"https://api.github.com/users/jayfunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-24T13:42:58Z","updated_at":"2016-04-15T00:36:18Z","closed_at":null,"body":"Need to build out the caching of the event records once fetched from the sheet. That way we wont have to worry about reaching usage limits and changes wont be often enough to warrant always fetching the latest. The cached result should also have a timestamp of when it was stored that way the client can verify if the version it has locally is out of date or not."},"comment":{"url":"https://api.github.com/repos/jayfunk/pocketguide-web-server/issues/comments/210223539","html_url":"https://github.com/jayfunk/pocketguide-web-server/issues/1#issuecomment-210223539","issue_url":"https://api.github.com/repos/jayfunk/pocketguide-web-server/issues/1","id":210223539,"user":{"login":"ahutchings","id":35026,"avatar_url":"https://avatars.githubusercontent.com/u/35026?v=3","gravatar_id":"","url":"https://api.github.com/users/ahutchings","html_url":"https://github.com/ahutchings","followers_url":"https://api.github.com/users/ahutchings/followers","following_url":"https://api.github.com/users/ahutchings/following{/other_user}","gists_url":"https://api.github.com/users/ahutchings/gists{/gist_id}","starred_url":"https://api.github.com/users/ahutchings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahutchings/subscriptions","organizations_url":"https://api.github.com/users/ahutchings/orgs","repos_url":"https://api.github.com/users/ahutchings/repos","events_url":"https://api.github.com/users/ahutchings/events{/privacy}","received_events_url":"https://api.github.com/users/ahutchings/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T00:36:18Z","updated_at":"2016-04-15T00:36:18Z","body":"Done in 83f2148e1221abc3c12dcacc0ccd54066b71eda5 and c99a4ebaf439498babed88028e5f0221372f0ca5. I configured the default cache expiry to 12 hours. When a request comes into the server, it will first try to fetch from memcache, falling back to Google."}}