{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/13829","labels_url":"https://api.github.com/repos/owncloud/core/issues/13829/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/13829/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/13829/events","html_url":"https://github.com/owncloud/core/pull/13829","id":56240706,"number":13829,"title":"Better caching for enabled apps","user":{"login":"icewind1991","id":1283854,"avatar_url":"https://avatars.githubusercontent.com/u/1283854?v=3","gravatar_id":"","url":"https://api.github.com/users/icewind1991","html_url":"https://github.com/icewind1991","followers_url":"https://api.github.com/users/icewind1991/followers","following_url":"https://api.github.com/users/icewind1991/following{/other_user}","gists_url":"https://api.github.com/users/icewind1991/gists{/gist_id}","starred_url":"https://api.github.com/users/icewind1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icewind1991/subscriptions","organizations_url":"https://api.github.com/users/icewind1991/orgs","repos_url":"https://api.github.com/users/icewind1991/repos","events_url":"https://api.github.com/users/icewind1991/events{/privacy}","received_events_url":"https://api.github.com/users/icewind1991/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/5%20-%20To%20review","name":"5 - To review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/performance","name":"performance","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-next","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":357,"closed_issues":86,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-02-16T15:55:57Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-02-02T14:08:44Z","updated_at":"2015-02-16T16:24:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/13829","html_url":"https://github.com/owncloud/core/pull/13829","diff_url":"https://github.com/owncloud/core/pull/13829.diff","patch_url":"https://github.com/owncloud/core/pull/13829.patch"},"body":"Add `getInstalledApps()` and `getAppsEnabledForUser()` to `\\OCP\\App\\IAppManager` and use those in `\\OC_App` for better caching.\r\n\r\nAlso improves the caching in `\\OC\\Group\\GroupManager::getUserGroupIds()`\r\n\r\nCombined it saves 11 queries while loading a basic file list in my test case ([comparison](https://blackfire.io/profiles/compare/1c88aefe-5fcb-43b7-909f-9a0ed7e1feef/graph?callname=main()&selected=&settings%5Bdimension%5D=wt&settings%5BcallerDepth%5D=2&settings%5BcalleeDepth%5D=&settings%5BminNodeCost%5D=5&settings%5BminCallCost%5D=0.01))\r\n\r\ncc @DeepDiver1975 @PVince81 "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/74533995","html_url":"https://github.com/owncloud/core/pull/13829#issuecomment-74533995","issue_url":"https://api.github.com/repos/owncloud/core/issues/13829","id":74533995,"user":{"login":"scrutinizer-notifier","id":6398257,"avatar_url":"https://avatars.githubusercontent.com/u/6398257?v=3","gravatar_id":"","url":"https://api.github.com/users/scrutinizer-notifier","html_url":"https://github.com/scrutinizer-notifier","followers_url":"https://api.github.com/users/scrutinizer-notifier/followers","following_url":"https://api.github.com/users/scrutinizer-notifier/following{/other_user}","gists_url":"https://api.github.com/users/scrutinizer-notifier/gists{/gist_id}","starred_url":"https://api.github.com/users/scrutinizer-notifier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrutinizer-notifier/subscriptions","organizations_url":"https://api.github.com/users/scrutinizer-notifier/orgs","repos_url":"https://api.github.com/users/scrutinizer-notifier/repos","events_url":"https://api.github.com/users/scrutinizer-notifier/events{/privacy}","received_events_url":"https://api.github.com/users/scrutinizer-notifier/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T16:24:26Z","updated_at":"2015-02-16T16:24:26Z","body":"The [inspection](https://scrutinizer-ci.com/g/owncloud/core/inspections/5b8f4d51-c50e-4092-b136-b5acb9686925) completed: **7 new issues, 8 updated code elements**"}}