This will help us to all the time write all parameter in cache
duration = seconds for active cache profile
@ web.config
duration = seconds for active cache profile
@ web.config
<system.web>
<caching>
<outputCacheSettings>
<outputCacheProfiles>
<add name="CATCHPROFILE_NAME" duration="3600" varyByParam="none"></add>
</outputCacheProfiles>
</outputCacheSettings>
</caching>
</system.web>
@ All Page write as
<%@ OutputCache CacheProfile="CATCHPROFILE_NAME" %>
No comments:
Post a Comment