{"action":"opened","issue":{"url":"https://api.github.com/repos/seancdavis/sapwood-classic/issues/294","repository_url":"https://api.github.com/repos/seancdavis/sapwood-classic","labels_url":"https://api.github.com/repos/seancdavis/sapwood-classic/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/seancdavis/sapwood-classic/issues/294/comments","events_url":"https://api.github.com/repos/seancdavis/sapwood-classic/issues/294/events","html_url":"https://github.com/seancdavis/sapwood-classic/issues/294","id":156982252,"number":294,"title":"Cache menu data","user":{"login":"seancdavis","id":5245089,"avatar_url":"https://avatars.githubusercontent.com/u/5245089?v=3","gravatar_id":"","url":"https://api.github.com/users/seancdavis","html_url":"https://github.com/seancdavis","followers_url":"https://api.github.com/users/seancdavis/followers","following_url":"https://api.github.com/users/seancdavis/following{/other_user}","gists_url":"https://api.github.com/users/seancdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/seancdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancdavis/subscriptions","organizations_url":"https://api.github.com/users/seancdavis/orgs","repos_url":"https://api.github.com/users/seancdavis/repos","events_url":"https://api.github.com/users/seancdavis/events{/privacy}","received_events_url":"https://api.github.com/users/seancdavis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/seancdavis/sapwood-classic/labels/improvement","name":"improvement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/seancdavis/sapwood-classic/milestones/13","html_url":"https://github.com/seancdavis/sapwood-classic/milestones/v1.6","labels_url":"https://api.github.com/repos/seancdavis/sapwood-classic/milestones/13/labels","id":983341,"number":13,"title":"v1.6","description":"Focusing on performance enhancements for crowded installations.","creator":{"login":"seancdavis","id":5245089,"avatar_url":"https://avatars.githubusercontent.com/u/5245089?v=3","gravatar_id":"","url":"https://api.github.com/users/seancdavis","html_url":"https://github.com/seancdavis","followers_url":"https://api.github.com/users/seancdavis/followers","following_url":"https://api.github.com/users/seancdavis/following{/other_user}","gists_url":"https://api.github.com/users/seancdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/seancdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancdavis/subscriptions","organizations_url":"https://api.github.com/users/seancdavis/orgs","repos_url":"https://api.github.com/users/seancdavis/repos","events_url":"https://api.github.com/users/seancdavis/events{/privacy}","received_events_url":"https://api.github.com/users/seancdavis/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":8,"state":"open","created_at":"2015-02-17T18:24:14Z","updated_at":"2016-05-26T13:21:54Z","due_on":"2016-06-12T04:00:00Z","closed_at":null},"comments":0,"created_at":"2016-05-26T13:21:54Z","updated_at":"2016-05-26T13:21:54Z","closed_at":null,"body":"Rendering menus is a huge hit on performance on almost every site. The menu builder is great, but ancestry doesn't give us the opportunity to eager load objects.\r\n\r\nI'm thinking we cache a menu's data on the menu object. I would have put it on the site, but that potentially adds a lot of data we won't always use. So let's keep it on the menu.\r\n\r\nWe'll have to update this whenever the menu or its items are updated, or whenever a page title, slug, path is changed, or a page is created.\r\n\r\nThen, the `viewer_menu` helper should use this and only query the menu, not its items."}}
{"actor":{"display_login":"seancdavis"}}