在Config內的staticContent節點內增加


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

時間可自行調整

如果沒有staticContent結點

則先找到system.webServer節點

再增加

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

文章標籤
全站熱搜
創作者介紹
創作者 貓小佑 的頭像
貓小佑

【蝴蝶廢墟】

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