Which is the best way to control the ASP.net output cache memory size in IIS 6?
Someone here knows how to control the total possible amount of memory that ASP.net uses to maintain the output cache? I'm having so开发者_如何学JAVAme troubles and memory issues related to this and I want to limit the growth of the cache in my IIS 6 server.
Thanks!
http://www.iis.net/ConfigReference/system.webServer/caching
<configuration>
<system.webServer>
<caching enabled="true" enableKernelCache="true" maxCacheSize="1000" maxResponseSize="512000"/>
</system.webServer>
</configuration>
Cheers.
It was far away and its false, but as I remember, web.config
has special section which can specify cache size. I forgot its name, but I'm 75% sure it present!
精彩评论