Iis 7 缓存配置文件web.config vs IIS

Iis 7 缓存配置文件web.config vs IIS,iis-7,caching,outputcache,Iis 7,Caching,Outputcache,在Web.Config中配置缓存配置文件与在IIS中配置缓存配置文件有什么区别 如果您在Web.Config中有这个 <caching> <outputCache enableOutputCache="true" /> <outputCacheSettings> <outputCacheProfiles> <add duration="14800" enabled="true" vary

在Web.Config中配置缓存配置文件与在IIS中配置缓存配置文件有什么区别

如果您在Web.Config中有这个

<caching>
    <outputCache enableOutputCache="true" />
    <outputCacheSettings>
        <outputCacheProfiles>
            <add duration="14800" enabled="true" varyByParam="*"
                 name="AssetCacheProfile" />
        </outputCacheProfiles>
    </outputCacheSettings>
</caching>

在IIS的输出缓存中没有配置任何东西,它会工作吗

如果在IIS中添加我在输出缓存中使用的所有扩展,会发生什么变化

它是一个使用此缓存配置文件的aspx页面RetrieveBlob.aspx:

<%@ OutputCache CacheProfile="AssetCacheProfile" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RetrieveBlob.aspx.cs"
 Inherits="RetrieveBlob"  %>

IIS7 Slaks,我将更新问题。