{"action":"created","issue":{"url":"https://api.github.com/repos/Coursemology/coursemology2/issues/331","labels_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/331/comments","events_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/331/events","html_url":"https://github.com/Coursemology/coursemology2/pull/331","id":88146363,"number":331,"title":"Reduce the global query overhead","user":{"login":"lowjoel","id":2505070,"avatar_url":"https://avatars.githubusercontent.com/u/2505070?v=3","gravatar_id":"","url":"https://api.github.com/users/lowjoel","html_url":"https://github.com/lowjoel","followers_url":"https://api.github.com/users/lowjoel/followers","following_url":"https://api.github.com/users/lowjoel/following{/other_user}","gists_url":"https://api.github.com/users/lowjoel/gists{/gist_id}","starred_url":"https://api.github.com/users/lowjoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowjoel/subscriptions","organizations_url":"https://api.github.com/users/lowjoel/orgs","repos_url":"https://api.github.com/users/lowjoel/repos","events_url":"https://api.github.com/users/lowjoel/events{/privacy}","received_events_url":"https://api.github.com/users/lowjoel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-14T08:21:19Z","updated_at":"2015-06-15T06:32:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Coursemology/coursemology2/pulls/331","html_url":"https://github.com/Coursemology/coursemology2/pull/331","diff_url":"https://github.com/Coursemology/coursemology2/pull/331.diff","patch_url":"https://github.com/Coursemology/coursemology2/pull/331.patch"},"body":"Two queries are made regardless of page:\r\n - The instance for the current URL\r\n - The global/instance announcements\r\n\r\nThese queries add about ~5ms per page load. I have combined them together so 10ms page load time is shaved off every request."},"comment":{"url":"https://api.github.com/repos/Coursemology/coursemology2/issues/comments/111949565","html_url":"https://github.com/Coursemology/coursemology2/pull/331#issuecomment-111949565","issue_url":"https://api.github.com/repos/Coursemology/coursemology2/issues/331","id":111949565,"user":{"login":"allenwq","id":4983239,"avatar_url":"https://avatars.githubusercontent.com/u/4983239?v=3","gravatar_id":"","url":"https://api.github.com/users/allenwq","html_url":"https://github.com/allenwq","followers_url":"https://api.github.com/users/allenwq/followers","following_url":"https://api.github.com/users/allenwq/following{/other_user}","gists_url":"https://api.github.com/users/allenwq/gists{/gist_id}","starred_url":"https://api.github.com/users/allenwq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allenwq/subscriptions","organizations_url":"https://api.github.com/users/allenwq/orgs","repos_url":"https://api.github.com/users/allenwq/repos","events_url":"https://api.github.com/users/allenwq/events{/privacy}","received_events_url":"https://api.github.com/users/allenwq/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T06:32:18Z","updated_at":"2015-06-15T06:32:18Z","body":"@lowjoel Is #321 still wanted ?   I almost need to redo that after #331 and #332 "}}