{"action":"created","issue":{"url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/361","labels_url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/361/comments","events_url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/361/events","html_url":"https://github.com/cyclestreets/cyclescape/issues/361","id":68743072,"number":361,"title":"Too many issues rendered on homepage","user":{"login":"washeck","id":264454,"avatar_url":"https://avatars.githubusercontent.com/u/264454?v=3","gravatar_id":"","url":"https://api.github.com/users/washeck","html_url":"https://github.com/washeck","followers_url":"https://api.github.com/users/washeck/followers","following_url":"https://api.github.com/users/washeck/following{/other_user}","gists_url":"https://api.github.com/users/washeck/gists{/gist_id}","starred_url":"https://api.github.com/users/washeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washeck/subscriptions","organizations_url":"https://api.github.com/users/washeck/orgs","repos_url":"https://api.github.com/users/washeck/repos","events_url":"https://api.github.com/users/washeck/events{/privacy}","received_events_url":"https://api.github.com/users/washeck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-15T17:40:30Z","updated_at":"2015-04-16T14:01:33Z","closed_at":null,"body":"We run a copy of Cyclescape at www.cyklistesobe.cz. The codebase is about 1,5 year old fork. We plan to merge it but there is currently lack of developers to do so and we need to keep running the old version for a while. See https://github.com/auto-mat/toolkit for our current code.\r\n\r\nI was informed that our server became extremely slow and investigation showed that it's caused by a huge number of issues rendered on the Issues page. http://cyklistesobe.cz/issues/ has 780 (!) occurrences of `<article class='issue'>`, most of them in the \"Popular\" tab. It makes rendering of the page slow and forces the browser to make thousands of requests to the server.\r\n\r\nI'm not a Rails guy but I did a quick diff of our fork to cyclescape:master and I don't see a functional change here (except older versions of libraries) so I'm reporting here."},"comment":{"url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/comments/93741716","html_url":"https://github.com/cyclestreets/cyclescape/issues/361#issuecomment-93741716","issue_url":"https://api.github.com/repos/cyclestreets/cyclescape/issues/361","id":93741716,"user":{"login":"washeck","id":264454,"avatar_url":"https://avatars.githubusercontent.com/u/264454?v=3","gravatar_id":"","url":"https://api.github.com/users/washeck","html_url":"https://github.com/washeck","followers_url":"https://api.github.com/users/washeck/followers","following_url":"https://api.github.com/users/washeck/following{/other_user}","gists_url":"https://api.github.com/users/washeck/gists{/gist_id}","starred_url":"https://api.github.com/users/washeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washeck/subscriptions","organizations_url":"https://api.github.com/users/washeck/orgs","repos_url":"https://api.github.com/users/washeck/repos","events_url":"https://api.github.com/users/washeck/events{/privacy}","received_events_url":"https://api.github.com/users/washeck/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T14:01:33Z","updated_at":"2015-04-16T14:01:33Z","body":"Thanks, this helped. I'm not closing the issue to leave it open for your decision about fix in Cyclescape code."}}