Gitea Web performance

Hi Guys,

We are using Gitea in production for a couple of repositories, where one of them is a huge one with 1.5GB, 64460 Commits and 190 branches.
While browsing via web through README.md pages we have load times of ~5sec per page.
How can we make this faster?

Gitea runs as a docker image with postgress as database. Currently the default in-memory cache is used. The dockerhost has 10 vCPUs assigned an can take up to 64GB of RAM (currently uses just about 24GB), but other containers run on the same host (jenkins, nexus, …)

What are the possible screws which could be used to make browsing between markdown files in a respository faster? Other repositories with less items (files, commits) are responding much faster.

Thanks in advance for your input.

Gabriel