The following example caches a page on the server for only one minute and stores different versions of the page based on browser type and major version.
<outputCacheSettings>
<outputCacheProfiles>
<add name="ServerOnly"
duration="60"
varyByCustom="browser”
location="Server" />
</outputCacheProfiles>
</outputCacheSettings> When designing a page that needs to be cached in this way, you will need to add the following directive to the page:
<%@ OutputCache CacheProfile="ServerOnly" %>
For more information see @ OutputCache.