{"action":"created","issue":{"url":"https://api.github.com/repos/Haneke/HanekeSwift/issues/311","repository_url":"https://api.github.com/repos/Haneke/HanekeSwift","labels_url":"https://api.github.com/repos/Haneke/HanekeSwift/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/Haneke/HanekeSwift/issues/311/comments","events_url":"https://api.github.com/repos/Haneke/HanekeSwift/issues/311/events","html_url":"https://github.com/Haneke/HanekeSwift/issues/311","id":153358318,"number":311,"title":"synchronously check if item is cached","user":{"login":"heyalexchoi","id":4961047,"avatar_url":"https://avatars.githubusercontent.com/u/4961047?v=3","gravatar_id":"","url":"https://api.github.com/users/heyalexchoi","html_url":"https://github.com/heyalexchoi","followers_url":"https://api.github.com/users/heyalexchoi/followers","following_url":"https://api.github.com/users/heyalexchoi/following{/other_user}","gists_url":"https://api.github.com/users/heyalexchoi/gists{/gist_id}","starred_url":"https://api.github.com/users/heyalexchoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyalexchoi/subscriptions","organizations_url":"https://api.github.com/users/heyalexchoi/orgs","repos_url":"https://api.github.com/users/heyalexchoi/repos","events_url":"https://api.github.com/users/heyalexchoi/events{/privacy}","received_events_url":"https://api.github.com/users/heyalexchoi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-06T01:04:50Z","updated_at":"2016-05-06T06:37:17Z","closed_at":null,"body":"is there no way to synchronously check if an item is cached? i am particularly interested in this operation for the disk cache.\r\n\r\nif not, i can add it. is there any reason this feature would not be desirable?\r\n\r\nessentially i would want to provide an accessor on Cache to check if a file exists at a path for a key."},"comment":{"url":"https://api.github.com/repos/Haneke/HanekeSwift/issues/comments/217358832","html_url":"https://github.com/Haneke/HanekeSwift/issues/311#issuecomment-217358832","issue_url":"https://api.github.com/repos/Haneke/HanekeSwift/issues/311","id":217358832,"user":{"login":"dcharbonnier","id":6220422,"avatar_url":"https://avatars.githubusercontent.com/u/6220422?v=3","gravatar_id":"","url":"https://api.github.com/users/dcharbonnier","html_url":"https://github.com/dcharbonnier","followers_url":"https://api.github.com/users/dcharbonnier/followers","following_url":"https://api.github.com/users/dcharbonnier/following{/other_user}","gists_url":"https://api.github.com/users/dcharbonnier/gists{/gist_id}","starred_url":"https://api.github.com/users/dcharbonnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcharbonnier/subscriptions","organizations_url":"https://api.github.com/users/dcharbonnier/orgs","repos_url":"https://api.github.com/users/dcharbonnier/repos","events_url":"https://api.github.com/users/dcharbonnier/events{/privacy}","received_events_url":"https://api.github.com/users/dcharbonnier/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T06:37:17Z","updated_at":"2016-05-06T06:37:17Z","body":"Any asynchronous call can be synchronized on your side and generally speaking accessing storage synchronously does not seams like a good approach. What is preventing you from synchronization on your side and what is the use casse ?"}}