HttpCachePolicy class can perform all the tasks that you can perform with the <%@ OutputCache %> directive.
The page is cached on the browser, proxy servers, and web server for 15 seconds.
File: Default.aspx
<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Program OutputCache