开发者

Which is the best way to control the ASP.net output cache memory size in IIS 6?

开发者 https://www.devze.com 2023-03-18 11:55 出处:网络
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

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!

0

精彩评论

暂无评论...
验证码 换一张
取 消