Open Aviortheking opened 4 years ago
@Aviortheking this should be only be a problem if you visit a folder the first time after code change: #10069
It dont seems its doing it as it take a long t'aime to load Evert times
"- COMMITS_COUNT
: 1000: Only enable the cache when repository's commits count great than."
you may have to less commits - https://github.com/go-gitea/gitea/pull/10069/files#diff-07e54da65506d1528f7f446c22a6f723R398
but a configruable limit or paginatin would be a enhancement (I personaly prefere a pagination since the other optin will make some things inaccessible)
Performance hits for this page come from two sources: 1) the time required for git to bring up the list and 2) the server/network/client time associated with rendering that list.
AFAIK (1) is the most expensive by far, so only adding pagination wouldn't help much. For this, #10069 will help.
Paginating will help with (2), certainly, and with the general usability of the feature.
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
This issue has been automatically closed because of inactivity. You can re-open it if needed.
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
I would like this to be added as well. For me, I am doing a large ERP upgrade and need to compare Oracle package and package bodies. We currently have over 16,000 files per branch (dev, test, and prod) in the repo and it takes 2268ms for page load and 2034ms for template load. If we could have a configuration that limits to only loading oh let's say 50 files at a time, that would be fantastic.
Do I need to put in a separate ticket?
It would be cool doing like Github by limiting to 3k files displayed
[x]
):Description
Limit the number of files/folders shown at the same time to not cause this VERY long loading time and browser not handling the page correctly
ex: https://git.delta-wings.net/tcgdex/compiled/src/branch/master/en/cards
Github: https://github.com/tcgdex/distribution/tree/master/en/cards ...
Screenshots