{"action":"opened","issue":{"url":"https://api.github.com/repos/thredded/thredded/issues/331","repository_url":"https://api.github.com/repos/thredded/thredded","labels_url":"https://api.github.com/repos/thredded/thredded/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/thredded/thredded/issues/331/comments","events_url":"https://api.github.com/repos/thredded/thredded/issues/331/events","html_url":"https://github.com/thredded/thredded/issues/331","id":159963551,"number":331,"title":"Use cached rendered post HTML","user":{"login":"jayroh","id":28194,"avatar_url":"https://avatars.githubusercontent.com/u/28194?v=3","gravatar_id":"","url":"https://api.github.com/users/jayroh","html_url":"https://github.com/jayroh","followers_url":"https://api.github.com/users/jayroh/followers","following_url":"https://api.github.com/users/jayroh/following{/other_user}","gists_url":"https://api.github.com/users/jayroh/gists{/gist_id}","starred_url":"https://api.github.com/users/jayroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayroh/subscriptions","organizations_url":"https://api.github.com/users/jayroh/orgs","repos_url":"https://api.github.com/users/jayroh/repos","events_url":"https://api.github.com/users/jayroh/events{/privacy}","received_events_url":"https://api.github.com/users/jayroh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-13T14:28:24Z","updated_at":"2016-06-13T14:28:24Z","closed_at":null,"body":"The weekly Skylight report for thredded.com shows that the controller causing the most \"agony\" is `topics#show`. Looking through the event sequence shows that it's in the view layer. See here:\r\n\r\n![](https://www.evernote.com/l/AUoF1_UEuH5A8qWO5pcU2dvTa3zX1Ax6t1oB/image.png)\r\n\r\nI'm thinking that using the html pipeline on each post, for every request, strikes me as unnecessary and probably a bit of a bottleneck we can pass off after the first render."}}
{"actor":{"display_login":"jayroh"}}