来自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.
那么我什么时候选择使用 IIS 输出缓存,什么时候更喜欢 ASP.net 输出缓存?也不清楚他们写了什么 asp.net 缓存“可用于任何内容类型”?
IIS 输出缓存利用 ASP.NET 输出缓存来缓存来自所有类型应用程序的内容,而不仅仅是 ASP.NET。
如果您正在编写 ASP.NET 应用程序,您将完全控制 ASP.NET 输出缓存,以及它的所有详细设置和其他设置。另一方面,如果您正在构建 PHP 应用程序,IIS 仍将提供输出缓存(利用 .NET 框架提供的内容),而您无需为此接触任何 .NET 代码。
推荐阅读:
归档时间: |
|
查看次数: |
8939 次 |
最近记录: |