-
On the application-tier server, open Windows Explorer, and browse to \%programfiles%\Microsoft Team Foundation Server 2010\Application Tier\Web Services.
-
Open the web.config file in a text or XML editor, and then locate the <appSettings> element.
-
Add one of the following elements:
-
To specify a percentage of available disk space to fill before old files are removed, add the PercentageBasedPolicy element. You must specify a whole number as the value of this element.
For example, the following line specifies that the cache should fill up to 60% capacity of available disk space before old files are removed:
-
To specify a fixed size in MB for the cache to reach before old files are removed, add the FixedSizeBasedPolicy element. You must specify a whole number as the value of this element.
For example, the following line specifies that the cache should reach 500 MB before old files are removed:
Note If both the FixedSizeBasedPolicy and PercentageBasedPolicy elements are specified, the value of the FixedSizeBasedPolicy element is used, and the value of the PercentageBasedPolicy element is ignored.
-
-
Save and close the web.config file.
-
Open a Command Prompt window, type iisreset, and then press ENTER.