Markdown references should be fetched asynchronously or be limited in count #16257
Closed
2 of 6 tasks
Labels
performance/speed
performance issues with slow downs
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
[x]
):Description
When a markdown file or a comment contains lots of references (looking at you, CHANGELOG.md), they are all resolved, inducing very high server load: loading the view page of gitea's CHANGELOG.md takes ~15secs!
I'm not sure if it's sensible to just limit the number of references that are preloaded, as that change has quite a impact on functionality.
Loading those issue cards on demand (on hover?) might be a better approach, though inducing latency.
Maybe a hybrid approach is best: load max 5 references on page render, and resolve the rest on hover via ajax
The text was updated successfully, but these errors were encountered: