{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4350","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4350/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4350/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4350/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4350","id":141315544,"number":4350,"title":"[core] offline and cache policy","user":{"login":"RomainQuidet","id":8179069,"avatar_url":"https://avatars.githubusercontent.com/u/8179069?v=3","gravatar_id":"","url":"https://api.github.com/users/RomainQuidet","html_url":"https://github.com/RomainQuidet","followers_url":"https://api.github.com/users/RomainQuidet/followers","following_url":"https://api.github.com/users/RomainQuidet/following{/other_user}","gists_url":"https://api.github.com/users/RomainQuidet/gists{/gist_id}","starred_url":"https://api.github.com/users/RomainQuidet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomainQuidet/subscriptions","organizations_url":"https://api.github.com/users/RomainQuidet/orgs","repos_url":"https://api.github.com/users/RomainQuidet/repos","events_url":"https://api.github.com/users/RomainQuidet/events{/privacy}","received_events_url":"https://api.github.com/users/RomainQuidet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/offline","name":"offline","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-16T15:49:20Z","updated_at":"2016-03-17T16:17:13Z","closed_at":"2016-03-17T00:37:06Z","body":"I can't find any document about the cache and offline maps policies.\r\nIf there is no document, could you explain:\r\n* cache database\r\n    * does it handle vector only maps or also raster png files ? Does it cache mapbox tiles only or also custom tiles providers ?\r\n    * max cache size: what size, can we change it ?\r\n    * expire policy: what is the expire delay, how can it be changed ?\r\n    * expire policy: can expire delay be different according to tiles style ?\r\n    * expire policy: if tiles expire, is it automatically removed ?\r\n    * on maximum size reached, does it stop to record or do you have a ring cache (older tiles are removed for newer ones).\r\n\r\n* offline maps\r\n    * does it handle vector only maps or also raster png files ? Does it cache mapbox tiles only or also custom tiles providers ?\r\n    * expire policy: what is the expire delay, how can it be changed ?\r\n    * expire policy: if tiles expire, is it automatically removed ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/197955247","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4350#issuecomment-197955247","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4350","id":197955247,"user":{"login":"jfirebaugh","id":98601,"avatar_url":"https://avatars.githubusercontent.com/u/98601?v=3","gravatar_id":"","url":"https://api.github.com/users/jfirebaugh","html_url":"https://github.com/jfirebaugh","followers_url":"https://api.github.com/users/jfirebaugh/followers","following_url":"https://api.github.com/users/jfirebaugh/following{/other_user}","gists_url":"https://api.github.com/users/jfirebaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/jfirebaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfirebaugh/subscriptions","organizations_url":"https://api.github.com/users/jfirebaugh/orgs","repos_url":"https://api.github.com/users/jfirebaugh/repos","events_url":"https://api.github.com/users/jfirebaugh/events{/privacy}","received_events_url":"https://api.github.com/users/jfirebaugh/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T16:17:13Z","updated_at":"2016-03-17T16:17:13Z","body":"Yeah, that's a bug. Thanks for bringing that to our attention. Ticketed as #4362."}}