IIS输出caching与ASP.NET输出caching

iis.net引用: The ASP.NET page output cache is separate from the IIS 7 output cache. In applications that use the Integrated ASP.NET mode, the ASP.NET page output cache can be used programmatically for any content-type, much like the IIS 7 output cache. The ASP.NET page output cache is separate from the IIS 7 output cache. In applications that use the Integrated ASP.NET mode, the ASP.NET page output cache can be used programmatically for any content-type, much like the IIS 7 output cache.

那么,我什么时候会select使用IIS输出caching,何时selectASP.net输出caching呢? 也不清楚他们写什么asp.netcaching“ 可以用于任何内容types ”?

IIS输出caching利用ASP.NET输出caching来caching来自所有types应用程序的内容,而不仅仅是ASP.NET。

如果您正在编写一个ASP.NET应用程序,那么您将完全控制ASP.NET输出caching,具有所有的详细设置,而不是。 另一方面,如果你正在构build一个PHP应用程序,IIS仍然会提供一个输出caching(利用.NET框架提供的),而不必为此而触摸任何.NET代码。

推荐阅读:

  • configurationIIS输出caching
  • 使用集成的ASP.NETpipe道增强您的应用程序
  • ASP.NETcaching和最佳实践
  • IIS 7.0输出caching演练