mega
mega copied to clipboard
[Mono Server] Slow Retrieval of Directory-Related Commit Information
The UI page needs to display commit information related to directories. However, the current process involves recursively traversing the commit history, which significantly impacts performance. An optimization solution is needed to speed up the retrieval of commit data without sacrificing accuracy.
related api: {{mega}}/api/v1/tree/commit-info?path=/third-part/mega
One possible approach could be to implement a lazy loading mechanism similar to GitHub’s, where commit information is loaded after directory.