{"action":"created","issue":{"url":"https://api.github.com/repos/rtheunissen/guzzle-cache-handler/issues/4","labels_url":"https://api.github.com/repos/rtheunissen/guzzle-cache-handler/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rtheunissen/guzzle-cache-handler/issues/4/comments","events_url":"https://api.github.com/repos/rtheunissen/guzzle-cache-handler/issues/4/events","html_url":"https://github.com/rtheunissen/guzzle-cache-handler/issues/4","id":100476814,"number":4,"title":"Return if request was cached or not","user":{"login":"Zyles","id":1741593,"avatar_url":"https://avatars.githubusercontent.com/u/1741593?v=3","gravatar_id":"","url":"https://api.github.com/users/Zyles","html_url":"https://github.com/Zyles","followers_url":"https://api.github.com/users/Zyles/followers","following_url":"https://api.github.com/users/Zyles/following{/other_user}","gists_url":"https://api.github.com/users/Zyles/gists{/gist_id}","starred_url":"https://api.github.com/users/Zyles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zyles/subscriptions","organizations_url":"https://api.github.com/users/Zyles/orgs","repos_url":"https://api.github.com/users/Zyles/repos","events_url":"https://api.github.com/users/Zyles/events{/privacy}","received_events_url":"https://api.github.com/users/Zyles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rtheunissen/guzzle-cache-handler/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"rtheunissen","id":809191,"avatar_url":"https://avatars.githubusercontent.com/u/809191?v=3","gravatar_id":"","url":"https://api.github.com/users/rtheunissen","html_url":"https://github.com/rtheunissen","followers_url":"https://api.github.com/users/rtheunissen/followers","following_url":"https://api.github.com/users/rtheunissen/following{/other_user}","gists_url":"https://api.github.com/users/rtheunissen/gists{/gist_id}","starred_url":"https://api.github.com/users/rtheunissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtheunissen/subscriptions","organizations_url":"https://api.github.com/users/rtheunissen/orgs","repos_url":"https://api.github.com/users/rtheunissen/repos","events_url":"https://api.github.com/users/rtheunissen/events{/privacy}","received_events_url":"https://api.github.com/users/rtheunissen/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-08-12T06:31:38Z","updated_at":"2015-08-12T07:07:27Z","closed_at":null,"body":"Small feature request...\r\n\r\nI need a way to check if the request was fetched from cache or not. Is there a way to do this?\r\n\r\nBasically I need to end up with a variable that says $cached = true/false\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/rtheunissen/guzzle-cache-handler/issues/comments/130194028","html_url":"https://github.com/rtheunissen/guzzle-cache-handler/issues/4#issuecomment-130194028","issue_url":"https://api.github.com/repos/rtheunissen/guzzle-cache-handler/issues/4","id":130194028,"user":{"login":"rtheunissen","id":809191,"avatar_url":"https://avatars.githubusercontent.com/u/809191?v=3","gravatar_id":"","url":"https://api.github.com/users/rtheunissen","html_url":"https://github.com/rtheunissen","followers_url":"https://api.github.com/users/rtheunissen/followers","following_url":"https://api.github.com/users/rtheunissen/following{/other_user}","gists_url":"https://api.github.com/users/rtheunissen/gists{/gist_id}","starred_url":"https://api.github.com/users/rtheunissen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtheunissen/subscriptions","organizations_url":"https://api.github.com/users/rtheunissen/orgs","repos_url":"https://api.github.com/users/rtheunissen/repos","events_url":"https://api.github.com/users/rtheunissen/events{/privacy}","received_events_url":"https://api.github.com/users/rtheunissen/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T07:07:27Z","updated_at":"2015-08-12T07:07:27Z","body":"Do you want to know if the response was made and cached during the last request, or whether the response was fetched from the cache?"}}