1

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"  %>
4

0 に答える 0