Caching api/v2/repositories - Slow first response

We just migrated all our 164 SVN repos to SCM-manager 3.2.2 running on Ubuntu 22.04.

When navigating to /repos/ the first request to api/v2/repositories is very slow.
It takes ~10 seconds from request to response


Next time the response is instant (sub 1 sec).

Is there any settings to improve caching ?

Hey @lgjli

thank you for your post. Could you please share your hardware setup?
Also do you experience this everytime on the first login? Which plugins do you use? Usually plugins do slow down the first loadup.

SCM-manager is running in a Ubuntu 22.04 VM on a Hyper-v host.
I have allocated 8GB ram and a single virtual CPU on a Xeon E5-1650.
It does not look like the VM is CPU bound.

What hardware specs do you usually recommend ?

I experience this at every login.

I have the following plugins installed:

  "scm-openapi-plugin",
  "scm-mustache-documentation-plugin",
  "scm-audit-log-plugin",
  "scm-custom-storage-plugin",
  "scm-activity-plugin",
  "scm-repository-avatar-plugin",
  "scm-repository-trash-bin-plugin",
  "scm-ssh-plugin",
  "scm-groupmanager-plugin",
  "scm-editor-plugin",
  "scm-commit-message-checker-plugin",
  "scm-commit-search-plugin",
  "scm-binary-search-plugin",
  "scm-svn-plugin",
  "scm-metrics-json-plugin",
  "scm-hg-plugin",
  "scm-tagprotection-plugin",
  "scm-directfilelink-plugin",
  "scm-manage-folder-plugin",
  "scm-repository-size-plugin",
  "scm-content-search-plugin",
  "scm-pushlog-plugin",
  "scm-mail-plugin",
  "scm-pushevent-plugin",
  "scm-code-editor-plugin",
  "scm-git-plugin",
  "scm-ldap-plugin",
  "scm-external-file-plugin",
  "scm-readme-plugin",
  "scm-repository-template-plugin",
  "scm-pathwp-plugin",
  "scm-archive-plugin",
  "scm-review-plugin",
  "scm-legacy-plugin",
  "scm-branchwp-plugin"