{"action":"created","issue":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/7986","labels_url":"https://api.github.com/repos/Elgg/Elgg/issues/7986/labels{/name}","comments_url":"https://api.github.com/repos/Elgg/Elgg/issues/7986/comments","events_url":"https://api.github.com/repos/Elgg/Elgg/issues/7986/events","html_url":"https://github.com/Elgg/Elgg/pull/7986","id":58480194,"number":7986,"title":"WIP perf(plugins): Adds plugin settings cache and optimized loading","user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-21T23:39:02Z","updated_at":"2015-04-12T04:15:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Elgg/Elgg/pulls/7986","html_url":"https://github.com/Elgg/Elgg/pull/7986","diff_url":"https://github.com/Elgg/Elgg/pull/7986.diff","patch_url":"https://github.com/Elgg/Elgg/pull/7986.patch"},"body":"This caches non-user/non-internal plugin settings and lazily loads all settings in a couple queries when the first one is requested. Many bundled plugins don’t use settings on every request so this avoids the overhead on those requests.\r\n\r\n - [ ] write tests"},"comment":{"url":"https://api.github.com/repos/Elgg/Elgg/issues/comments/91984796","html_url":"https://github.com/Elgg/Elgg/pull/7986#issuecomment-91984796","issue_url":"https://api.github.com/repos/Elgg/Elgg/issues/7986","id":91984796,"user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T04:15:47Z","updated_at":"2015-04-12T04:15:47Z","body":"Not sure how in depth to test this. A key part is testing the loading but it requires DB and adding test settings to plugins, which requires active plugins, so test would depend on that."}}