Consider caching the list of feature names
Depending on what code is being executed we can end up running the query SELECT "features".* FROM "features";
a lot of times. For example, when working on https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14731 I found that when importing github.com/yorickpeterse/oga we run this query 1445 times. We should consider caching this list in Redis and refreshing it whenever the list of enabled features changes.