{"action":"created","issue":{"url":"https://api.github.com/repos/GMOD/jbrowse/issues/641","labels_url":"https://api.github.com/repos/GMOD/jbrowse/issues/641/labels{/name}","comments_url":"https://api.github.com/repos/GMOD/jbrowse/issues/641/comments","events_url":"https://api.github.com/repos/GMOD/jbrowse/issues/641/events","html_url":"https://github.com/GMOD/jbrowse/issues/641","id":111914255,"number":641,"title":"SequenceChunck.js redundant access to chunks.","user":{"login":"enuggetry","id":10053377,"avatar_url":"https://avatars.githubusercontent.com/u/10053377?v=3","gravatar_id":"","url":"https://api.github.com/users/enuggetry","html_url":"https://github.com/enuggetry","followers_url":"https://api.github.com/users/enuggetry/followers","following_url":"https://api.github.com/users/enuggetry/following{/other_user}","gists_url":"https://api.github.com/users/enuggetry/gists{/gist_id}","starred_url":"https://api.github.com/users/enuggetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enuggetry/subscriptions","organizations_url":"https://api.github.com/users/enuggetry/orgs","repos_url":"https://api.github.com/users/enuggetry/repos","events_url":"https://api.github.com/users/enuggetry/events{/privacy}","received_events_url":"https://api.github.com/users/enuggetry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-16T21:27:16Z","updated_at":"2015-10-16T21:45:12Z","closed_at":null,"body":"I noticed an inefficiency in SequenceChunks. This is the store class that manages refseq access.  Requests that fall in the same chunk, result in the pulling the same chunk from the server multiple times.  From what I've seen, it can pull the same chunk like 7+ times.\r\nShould cache the last chuck to resolve it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GMOD/jbrowse/issues/comments/148843800","html_url":"https://github.com/GMOD/jbrowse/issues/641#issuecomment-148843800","issue_url":"https://api.github.com/repos/GMOD/jbrowse/issues/641","id":148843800,"user":{"login":"enuggetry","id":10053377,"avatar_url":"https://avatars.githubusercontent.com/u/10053377?v=3","gravatar_id":"","url":"https://api.github.com/users/enuggetry","html_url":"https://github.com/enuggetry","followers_url":"https://api.github.com/users/enuggetry/followers","following_url":"https://api.github.com/users/enuggetry/following{/other_user}","gists_url":"https://api.github.com/users/enuggetry/gists{/gist_id}","starred_url":"https://api.github.com/users/enuggetry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enuggetry/subscriptions","organizations_url":"https://api.github.com/users/enuggetry/orgs","repos_url":"https://api.github.com/users/enuggetry/repos","events_url":"https://api.github.com/users/enuggetry/events{/privacy}","received_events_url":"https://api.github.com/users/enuggetry/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T21:45:12Z","updated_at":"2015-10-16T21:45:12Z","body":"Ah, right.  Maybe that's why it was left that way.\n\nOn Fri, Oct 16, 2015 at 2:35 PM, Colin Diesh <notifications@github.com>\nwrote:\n\n> That can become a concern sometimes but most of the time it seems to fetch\n> the chunks from the browsers cache too\n>\n> I always check the network tab on the chrome bar to check this\n>\n> [image: cache]\n> <https://cloud.githubusercontent.com/assets/6511937/10553828/914b090a-7423-11e5-9f28-e894768a36d7.png>\n>\n> Here the black box shows the things that are pulled from cache and the red\n> arrow shows the total network traffic. The things that are pulled from\n> cache don't increase the network traffic\n>\n> Might be interesting if the chunks were cached without relying on this\n> browser cache though! I am not aware of what might be blocking that\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/GMOD/jbrowse/issues/641#issuecomment-148842211>.\n>\n"}}