【问题标题】:Which is the best way to control the ASP.net output cache memory size in IIS 6?在 IIS 6 中控制 ASP.net 输出缓存大小的最佳方法是什么?
【发布时间】:2011-09-30 11:45:34
【问题描述】:

这里有人知道如何控制 ASP.net 用于维护输出缓存的内存总量吗?我遇到了一些与此相关的麻烦和内存问题,我想限制 IIS 6 服务器中缓存的增长。

谢谢!

【问题讨论】:

    标签: asp.net iis-6 outputcache


    【解决方案1】:

    http://www.iis.net/ConfigReference/system.webServer/caching

    <configuration>
       <system.webServer>
          <caching enabled="true" enableKernelCache="true" maxCacheSize="1000" maxResponseSize="512000"/>
       </system.webServer>
    </configuration>
    

    干杯。

    【讨论】:

      【解决方案2】:

      它很远而且它是错误的,但我记得,web.config 有一个可以指定缓存大小的特殊部分。我忘记了它的名字,但我有 75% 的把握它存在!

      【讨论】:

      • 我没看懂……什么是远和假?
      • 在俄罗斯的意思是“我记不太清了”
      猜你喜欢
      • 2010-09-07
      • 2020-07-18
      • 1970-01-01
      • 2011-01-13
      • 2015-11-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多