0
에 정적 파일의 캐싱을 구현하는 'master_age에있는 page_load에 다음을 추가하려고 시도했지만, Fiddler를 사용할 때 정적 파일은 여전히 "no-cache"아래에 있습니다.어떻게 내 사이트에 Masterpage (asp.net 웹 양식)를 사용하고 내가, 자바 스크립트 같은, CSS 등</p> <p>I 일부 정적 파일 캐싱을 구현하고자 woluld asp.net
protected void Page_Load(object sender, EventArgs e)
{
// Set cache for 1 hour on all computers and servers.
// ... Proxies, browsers, and your server will cache it.
Response.Cache.SetCacheability(HttpCacheability.Public);
Response.Cache.SetMaxAge(new TimeSpan(1, 0, 0));
}
여기서 내가 뭘 잘못하고 있니? 그렇게하도록 요청하지 않는 한
// Nicke