{"action":"created","issue":{"url":"https://api.github.com/repos/18Months/themoviedb-api/issues/3","labels_url":"https://api.github.com/repos/18Months/themoviedb-api/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/18Months/themoviedb-api/issues/3/comments","events_url":"https://api.github.com/repos/18Months/themoviedb-api/issues/3/events","html_url":"https://github.com/18Months/themoviedb-api/issues/3","id":124323634,"number":3,"title":"Cache Configuration","user":{"login":"dancinglightning","id":142157,"avatar_url":"https://avatars.githubusercontent.com/u/142157?v=3","gravatar_id":"","url":"https://api.github.com/users/dancinglightning","html_url":"https://github.com/dancinglightning","followers_url":"https://api.github.com/users/dancinglightning/followers","following_url":"https://api.github.com/users/dancinglightning/following{/other_user}","gists_url":"https://api.github.com/users/dancinglightning/gists{/gist_id}","starred_url":"https://api.github.com/users/dancinglightning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancinglightning/subscriptions","organizations_url":"https://api.github.com/users/dancinglightning/orgs","repos_url":"https://api.github.com/users/dancinglightning/repos","events_url":"https://api.github.com/users/dancinglightning/events{/privacy}","received_events_url":"https://api.github.com/users/dancinglightning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-30T09:16:22Z","updated_at":"2015-12-30T09:22:01Z","closed_at":null,"body":"Just a suggestion, but from the docs is wasn't clear to me that getting the configuration goes over the net.\r\nSo i was using it to get image path and was surprised how slow that was and found out.\r\n\r\nAs the config is unlikely to change during program execution i think it would be save to cache it.\r\nAnd if the library doesn't it means every user has to.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/18Months/themoviedb-api/issues/comments/167964605","html_url":"https://github.com/18Months/themoviedb-api/issues/3#issuecomment-167964605","issue_url":"https://api.github.com/repos/18Months/themoviedb-api/issues/3","id":167964605,"user":{"login":"druzn3k","id":1090201,"avatar_url":"https://avatars.githubusercontent.com/u/1090201?v=3","gravatar_id":"","url":"https://api.github.com/users/druzn3k","html_url":"https://github.com/druzn3k","followers_url":"https://api.github.com/users/druzn3k/followers","following_url":"https://api.github.com/users/druzn3k/following{/other_user}","gists_url":"https://api.github.com/users/druzn3k/gists{/gist_id}","starred_url":"https://api.github.com/users/druzn3k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/druzn3k/subscriptions","organizations_url":"https://api.github.com/users/druzn3k/orgs","repos_url":"https://api.github.com/users/druzn3k/repos","events_url":"https://api.github.com/users/druzn3k/events{/privacy}","received_events_url":"https://api.github.com/users/druzn3k/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T09:22:01Z","updated_at":"2015-12-30T09:22:01Z","body":"You are right @dancinglightning, the configuration is unlikely to change, but here configuration is not \"the\" configuration, is an API endpoint. Mind you, I'm not against caching it, but in this case I think that caching it in the application is the way to go. Let's wait for @samuelebistoletti and see what he thinks about this issue."}}