{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3704","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3704/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3704/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3704/events","html_url":"https://github.com/Leaflet/Leaflet/issues/3704","id":98744571,"number":3704,"title":"deterministic subdomains","user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T13:37:51Z","updated_at":"2015-08-03T13:55:12Z","closed_at":null,"body":"one of the downsides of using a random number for the tile subdomain is that it means that more likely then not the tile will not be requested with the same url the next time around preventing it from taking advantage of the browser side cache.  One way to get around this would be to use the x/y/z of the coordinates to create the pseudo random number that way the tile at `8/56/102.png` would always be on the same subdomain."},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/comments/127243820","html_url":"https://github.com/Leaflet/Leaflet/issues/3704#issuecomment-127243820","issue_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3704","id":127243820,"user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T13:55:12Z","updated_at":"2015-08-03T13:55:12Z","body":"looking at [the code](https://github.com/Leaflet/Leaflet/blob/c016634bb1da9006e385f8c38d2d119c8c3cb879/src/layer/tile/TileLayer.js#L134-L137) this seems to already be the case in master, I may just need to upgrade my code"}}