{"action":"created","issue":{"url":"https://api.github.com/repos/square/picasso/issues/1318","repository_url":"https://api.github.com/repos/square/picasso","labels_url":"https://api.github.com/repos/square/picasso/issues/1318/labels{/name}","comments_url":"https://api.github.com/repos/square/picasso/issues/1318/comments","events_url":"https://api.github.com/repos/square/picasso/issues/1318/events","html_url":"https://github.com/square/picasso/issues/1318","id":141027885,"number":1318,"title":"How can I prefetch a number of images in the starting of the application showing progress?","user":{"login":"burakkilic","id":123382,"avatar_url":"https://avatars.githubusercontent.com/u/123382?v=3","gravatar_id":"","url":"https://api.github.com/users/burakkilic","html_url":"https://github.com/burakkilic","followers_url":"https://api.github.com/users/burakkilic/followers","following_url":"https://api.github.com/users/burakkilic/following{/other_user}","gists_url":"https://api.github.com/users/burakkilic/gists{/gist_id}","starred_url":"https://api.github.com/users/burakkilic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burakkilic/subscriptions","organizations_url":"https://api.github.com/users/burakkilic/orgs","repos_url":"https://api.github.com/users/burakkilic/repos","events_url":"https://api.github.com/users/burakkilic/events{/privacy}","received_events_url":"https://api.github.com/users/burakkilic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T16:30:37Z","updated_at":"2016-03-15T16:33:16Z","closed_at":"2016-03-15T16:33:16Z","body":"Hello;\r\n\r\nI want to prefetch and cache the files in the starting of my application. I wrote the code in this gist:\r\n\r\n[https://gist.github.com/burakkilic/b205ab57ef611c768280](https://gist.github.com/burakkilic/b205ab57ef611c768280)\r\nBut images seems not to be cached on the disk. Because if I turn off internet connection, images are not loaded in the views.\r\n\r\nHow can I solve that?"},"comment":{"url":"https://api.github.com/repos/square/picasso/issues/comments/196910298","html_url":"https://github.com/square/picasso/issues/1318#issuecomment-196910298","issue_url":"https://api.github.com/repos/square/picasso/issues/1318","id":196910298,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T16:33:16Z","updated_at":"2016-03-15T16:33:16Z","body":"Picasso does not have a disk cache. The HTTP client does disk caching. If the images you are loading do not have the proper HTTP headers to enable caching then they won't be retained by the HTTP client for loading offline. Picasso plays no part in this and has no control over it."}}