{"action":"created","issue":{"url":"https://api.github.com/repos/ether/etherpad-lite/issues/2697","labels_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2697/labels{/name}","comments_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2697/comments","events_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2697/events","html_url":"https://github.com/ether/etherpad-lite/pull/2697","id":89755232,"number":2697,"title":"prefetch pad files from index page","user":{"login":"JohnMcLear","id":220864,"avatar_url":"https://avatars.githubusercontent.com/u/220864?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnMcLear","html_url":"https://github.com/JohnMcLear","followers_url":"https://api.github.com/users/JohnMcLear/followers","following_url":"https://api.github.com/users/JohnMcLear/following{/other_user}","gists_url":"https://api.github.com/users/JohnMcLear/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnMcLear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnMcLear/subscriptions","organizations_url":"https://api.github.com/users/JohnMcLear/orgs","repos_url":"https://api.github.com/users/JohnMcLear/repos","events_url":"https://api.github.com/users/JohnMcLear/events{/privacy}","received_events_url":"https://api.github.com/users/JohnMcLear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-20T11:10:43Z","updated_at":"2015-06-21T00:20:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ether/etherpad-lite/pulls/2697","html_url":"https://github.com/ether/etherpad-lite/pull/2697","diff_url":"https://github.com/ether/etherpad-lite/pull/2697.diff","patch_url":"https://github.com/ether/etherpad-lite/pull/2697.patch"},"body":"This is thanks to the excellent work by @kentonv at @sandstorm as per https://github.com/kentonv/etherpad-lite/commit/910c507882d93ccd5440a6af0a5d41b937718c30\r\n\r\nPrefetching the pad files while on the index.html makes a lot of sense as it's your most likely next destination.  \r\n\r\nIn this branch I'm going to explore using prefetch to optimize Etherpad performance for the client.\r\n\r\nThe develop branch going from index to pad: \r\n* index load time, 51ms 32.7Kb\r\n* index > pad load time, 740ms 1.5Mb?? <-- doesn't add up\r\n* pad refresh load time, 345ms 102Kb\r\n\r\nIn this branch:\r\n* index load time, 129ms 121Kb\r\n* index > pad load time, 669ms 208Kb?? <-- doesn't add up\r\n* pad refresh load time, 239ms 185Kb\r\n"},"comment":{"url":"https://api.github.com/repos/ether/etherpad-lite/issues/comments/113844242","html_url":"https://github.com/ether/etherpad-lite/pull/2697#issuecomment-113844242","issue_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2697","id":113844242,"user":{"login":"kentonv","id":4001805,"avatar_url":"https://avatars.githubusercontent.com/u/4001805?v=3","gravatar_id":"","url":"https://api.github.com/users/kentonv","html_url":"https://github.com/kentonv","followers_url":"https://api.github.com/users/kentonv/followers","following_url":"https://api.github.com/users/kentonv/following{/other_user}","gists_url":"https://api.github.com/users/kentonv/gists{/gist_id}","starred_url":"https://api.github.com/users/kentonv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentonv/subscriptions","organizations_url":"https://api.github.com/users/kentonv/orgs","repos_url":"https://api.github.com/users/kentonv/repos","events_url":"https://api.github.com/users/kentonv/events{/privacy}","received_events_url":"https://api.github.com/users/kentonv/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T00:20:27Z","updated_at":"2015-06-21T00:20:27Z","body":"Well, their docs claim it's supported:\r\n\r\nhttps://www.chromium.org/spdy/link-headers-and-server-hint/link-rel-subresource\r\n\r\nBut yeah, if you're having trouble, I say just stick with the HTML approach."}}