You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
Lunny Xiao f4ccbd38dc
Use gitrepo.GetTreePathLatestCommit to get file lastest commit instead from latest commit cache (#32987)
The latest commit cache is currently used only for listing tree files.
However, a cold start may take longer than directly invoking the Git
command. This PR addresses the issue of slow response times when
accessing raw files, improving performance in such scenarios.

```log
gitea.log:105521:2024/12/23 08:22:18 ...eb/routing/logger.go:68:func1() [W] router: slow      GET /xxxx/xxxxxx/raw/commit/xxxxxxxxxxxxxxxxxxxxxxxxxxx/.editorconfig for 172.18.0.5:53252, elapsed 3526.8ms @ repo/download.go:117(repo.SingleDownload)
```
1 month ago
..
api Use gitrepo.GetTreePathLatestCommit to get file lastest commit instead from latest commit cache (#32987) 1 month ago
common Refactor tmpl and blob_excerpt (#32967) 1 month ago
install Refactor request context (#32956) 2 months ago
private Clarify path param naming (#32969) 2 months ago
utils Refactor external URL detection (#29973) 11 months ago
web Use gitrepo.GetTreePathLatestCommit to get file lastest commit instead from latest commit cache (#32987) 1 month ago
init.go Add sub issue list support (#32940) 2 months ago