Поделиться через


How to: Disable Source Control Caching for Team Foundation Server

As a Team Foundation Server administrator, you can disable caching of source control files for an Team Foundation Server server. You can perform this task modifying the Proxy.config file on the Team Foundation Server Proxy server. The Proxy.config file is located in the proxy installation directory.

Note

The default proxy installation directory is …\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControlProxy.

Required Permissions

To perform this procedure, you must be a member of the Administrators security group on the Team Foundation Server Proxy computer.

To disable caching of source control files for a Team Foundation Server

  1. On the Team Foundation Server Proxy server, open Windows Explorer, and locate the proxy installation directory.

  2. Open Proxy.config with a text editor.

  3. Locate the <Servers> node and delete the <Server> section that contains the URL for the Team Foundation Server that you want to disable source control file caching.

    For example, you would delete the following section to disable source control file caching for the application-tier server named ApplicationTierServerName.

    <Server>
       <Uri>https://ApplicationTierServerName:8080/VersionControl</Uri>
    </Server>
    
  4. Save and close the Proxy.config file.

  5. On the proxy server, on the Start menu, click Run, and type the following:

    IISRESET

    Performing this action retrieves the latest Proxy.config file.

Files cached from the Team Foundation Server are deleted the next time Team Foundation Server Proxy runs the cache cleanup routine.

See Also

Tasks

How to: Enable Source Control Caching for Team Foundation Server Proxy
How to: Examine Cache Performance for Team Foundation Server Proxy

Concepts

Managing Remote Connections to Team Foundation Server Proxy
Team Foundation Server Proxy Web.Config File Settings