在Config內的staticContent節點內增加


 <clientCache cacheControlMaxAge="00:10:00" cacheControlMode="UseMaxAge"/>
 

時間可自行調整

如果沒有staticContent結點

則先找到system.webServer節點

再增加

<staticContent>
 <clientCache cacheControlMaxAge="00:10:00" cacheControlMode="UseMaxAge"/>
</staticContent>

arrow
arrow
    全站熱搜

    貓小佑 發表在 痞客邦 留言(2) 人氣()