Set the maximum output cache size when you want to limit the amount of
memory IIS uses for output caching. Maximum cache size is the maximum
size, in megabytes, of the output cache. When the default value of 0 is
set, IIS automatically manages the cache memory size.
* Note: Setting a value that is too high could lead to the output cache using
too much memory and may aversely affect performance of the server and
application components. Exercise caution when you configure this value.
You can perform this procedure by using the user interface (UI) or by
running Appcmd.exe commands in a command-line window.
<<User Interface>>
1. Open IIS Manager and navigate to the level you want to manage.
2. In Features View, double-click Output Caching.
3. On the Output Caching page, in the Actions pane, click Edit feature settings.
4. In the Edit Output Cache Settings dialog box, enter the maximum cache size, in megabytes, in the Cache size limit (in MB) box.
5. Click OK.
<<Command Line>>
To <do_something>, use the following syntax:
appcmd command object parameter:value | parameter:variable | parameter:option1 | option2
The variable <variable_name> is <description_of_variable>. For example, to <do_something_specific>, type the following at the command prompt, and then press ENTER:
appcmd <exact_command_to_accomplish_the_procedure>
* Note: When you use Appcmd.exe to configure the <element_name> element at the global level in IIS 7, you must specify /commit:WEBROOT in the command so that configuration changes are made to the root Web.config file instead of ApplicationHost.config.
References:
1. How to increase memory and cache size for application pool in IIS 7 efficiently
http://stackoverflow.com/questions/16162524/how-to-increase-memory-and-cache-size-for-application-pool-in-iis-7-efficiently
2. Configure the Maximum Cache Size Limit (IIS 7)
http://technet.microsoft.com/en-us/library/cc772095%28v=ws.10%29.aspx
No comments:
Post a Comment