{"action":"created","issue":{"url":"https://api.github.com/repos/msteiger/jxmapviewer2/issues/31","labels_url":"https://api.github.com/repos/msteiger/jxmapviewer2/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/msteiger/jxmapviewer2/issues/31/comments","events_url":"https://api.github.com/repos/msteiger/jxmapviewer2/issues/31/events","html_url":"https://github.com/msteiger/jxmapviewer2/pull/31","id":54214477,"number":31,"title":"Added DiskTileCache","user":{"login":"Off-IT","id":3857773,"avatar_url":"https://avatars.githubusercontent.com/u/3857773?v=3","gravatar_id":"","url":"https://api.github.com/users/Off-IT","html_url":"https://github.com/Off-IT","followers_url":"https://api.github.com/users/Off-IT/followers","following_url":"https://api.github.com/users/Off-IT/following{/other_user}","gists_url":"https://api.github.com/users/Off-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/Off-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Off-IT/subscriptions","organizations_url":"https://api.github.com/users/Off-IT/orgs","repos_url":"https://api.github.com/users/Off-IT/repos","events_url":"https://api.github.com/users/Off-IT/events{/privacy}","received_events_url":"https://api.github.com/users/Off-IT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"msteiger","id":1820007,"avatar_url":"https://avatars.githubusercontent.com/u/1820007?v=3","gravatar_id":"","url":"https://api.github.com/users/msteiger","html_url":"https://github.com/msteiger","followers_url":"https://api.github.com/users/msteiger/followers","following_url":"https://api.github.com/users/msteiger/following{/other_user}","gists_url":"https://api.github.com/users/msteiger/gists{/gist_id}","starred_url":"https://api.github.com/users/msteiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msteiger/subscriptions","organizations_url":"https://api.github.com/users/msteiger/orgs","repos_url":"https://api.github.com/users/msteiger/repos","events_url":"https://api.github.com/users/msteiger/events{/privacy}","received_events_url":"https://api.github.com/users/msteiger/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-01-13T16:30:34Z","updated_at":"2015-02-02T08:52:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/msteiger/jxmapviewer2/pulls/31","html_url":"https://github.com/msteiger/jxmapviewer2/pull/31","diff_url":"https://github.com/msteiger/jxmapviewer2/pull/31.diff","patch_url":"https://github.com/msteiger/jxmapviewer2/pull/31.patch"},"body":"I've added this DiskTileCache class.\r\nThe downloaded tiles are stored on disk so the map can be used in a application that needs to go offline. \r\nIt also handles a cache timeout."},"comment":{"url":"https://api.github.com/repos/msteiger/jxmapviewer2/issues/comments/72423375","html_url":"https://github.com/msteiger/jxmapviewer2/pull/31#issuecomment-72423375","issue_url":"https://api.github.com/repos/msteiger/jxmapviewer2/issues/31","id":72423375,"user":{"login":"msteiger","id":1820007,"avatar_url":"https://avatars.githubusercontent.com/u/1820007?v=3","gravatar_id":"","url":"https://api.github.com/users/msteiger","html_url":"https://github.com/msteiger","followers_url":"https://api.github.com/users/msteiger/followers","following_url":"https://api.github.com/users/msteiger/following{/other_user}","gists_url":"https://api.github.com/users/msteiger/gists{/gist_id}","starred_url":"https://api.github.com/users/msteiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msteiger/subscriptions","organizations_url":"https://api.github.com/users/msteiger/orgs","repos_url":"https://api.github.com/users/msteiger/repos","events_url":"https://api.github.com/users/msteiger/events{/privacy}","received_events_url":"https://api.github.com/users/msteiger/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T08:52:24Z","updated_at":"2015-02-02T08:52:24Z","body":"As I understand it, the `TileCache` is actually meant to be an in-memory cache. It buffers decompresses images and to some extent compressed image data.\r\n\r\nIn contrast, the `LocalResponseCache` does cache files on disk. It compares local timestamp with the remote timestamp to avoid downloading identical files, which is probably superior to pure time-based caching. It should work fine in offline applications. Can you confirm this?"}}