Share via


How to: Disable Version Control Caching for Team Foundation Server

As a Team Foundation Server administrator, you can disable caching of version 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 2008 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 version 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 version control file caching.

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

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

  5. Restart IIS by opening a Command Prompt window, typing iisreset, and pressing ENTER.

    The most recent Proxy.config file is retrieved.

    Note

    Even if you are logged on with administrative credentials, you must open an elevated Command Prompt to perform this function on a server that is running Windows Server 2008. To open an elevated Command Prompt, click Start, right-click Command Prompt, and click Run as administrator. For more information, see the Microsoft Web site.

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

See Also

Tasks

How to: Enable Version Control Caching for Team Foundation Server Proxy

How to: Examine Cache Performance By Using Performance Monitor

Concepts

Managing Remote Connections to Team Foundation Server Proxy

The Team Foundation Server Proxy Config File