|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
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.
The default proxy installation directory is …\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\VersionControlProxy.
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
On the Team Foundation Server Proxy server, open Windows Explorer, and locate the proxy installation directory.
Open Proxy.config with a text editor.
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>http://ApplicationTierServerName:8080/VersionControl</Uri> </Server>
Save and close the Proxy.config file.
On the proxy server, on the Start menu, click Run, and type the following:
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.