Changing branch caching

Branches are cached when the Surround SCM Server starts. You can change the caching mode to reduce memory usage. Surround SCM includes the following caching modes:

  • Always—Branches are cached when the server starts. Mainline branches are always cached when the server starts and cannot be changed.
  • On Demand—Branches are cached when users perform actions that access the branch, such as opening a repository. By default, baseline, workspace, and snapshot branches are cached on demand. The most recently used Cache on Demand branches are cached when the server starts based on the server options. See Setting branch caching server options.
You cannot change the cache mode for mainline, inactive, or removed branches. Inactive and removed branches are not cached. Active mainline branches are always cached.

1. Choose Tools > Administration > Branch Maintenance.

The Branch Maintenance dialog box opens.

You can also choose Branch > Branch Attributes > Cache On Demand to change the cache mode.

2. Select a branch and click Toggle Caching.

You are prompted to confirm changing the cache mode.

3. Click Yes.

The cache mode is changed.

4. Click Close to close the Branch Maintenance dialog box.