N+1 TreeEntry queries in Projects::BlobController#show
If you load a Markdown with many links, it looks like it's possible that
Projects::BlobController renders a lot of Markdown and calls
Commit#tree_entry over and over.
It looks to me that:
I think we'll want to make the
rugged_tree_entry feature flag use the Rugged implementation as well.
Relates to #57317 (closed).
This will revert !20176 (diffs).
When the performance bar is enabled, the look for the JSON request on this page, which make over 600 requests.