2
프로필, <퍼센트의 @의 OutputCache를의 %> 사용자 정의 캐시 프로필과 관련된에서 CacheProfile 속성이있는 훌륭한 도구가구성 OutputCache를 한 곳에서 영문 페이지 'OutputCache를 구성하려면
<caching>
<outputCacheSettings>
<outputCacheProfiles>
<add name="myProfile" duration="300" />
</outputCacheProfiles>
</outputCacheSettings>
</caching>
그리고 행 :
<%@ OutputCache CacheProfile="myProfile" VaryByParam="None" %>
가하는 의 Web.config에 정의 직업. 그러나 ascx 사용자 컨트롤에 대해 동일한 작업을 수행하는 방법은 무엇입니까? CacheProfile이 < % @ OutputCache %>에 없음 : S 해결 방법이 있습니까? 감사합니다. . http://msdn.microsoft.com/en-us/library/hdxfb6cy.aspx에서