Load CODEOWNER details on demand for pages and directories
<!-- This template is a great use for issues that are feature::additions or technical tasks for larger issues.--> ### Proposal Stop loading CODEOWNERS on the page load, instead have a link and load them only on request? ([comment](https://gitlab.com/gitlab-org/gitlab/-/issues/378667#note_1149216337)) From https://gitlab.com/gitlab-org/gitlab/-/issues/378667#note_1147833363 > There's an opportunity to greatly reduce the load on the backend here. The query seems to be quite expensive. For example, [here](https://gitlab.com/gitlab-org/gitlab/-/blob/master/.browserslistrc) we are loading 133 code owners for a single file. The response weighs `5.5KB` and takes almost a full second to resolve. If there's a way we avoid making this query on every file and directory in repos, we would spare a lot of resources. <!-- Label reminders Use the following resources to find the appropriate labels: - https://gitlab.com/gitlab-org/gitlab/-/labels - https://about.gitlab.com/handbook/product/categories/features/ -->
issue