<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OutputCache_VaryByCustom.aspx.cs" Inherits="MyWebApplication.Cache.OutputCache_VaryByCustom" %>

<%@ OutputCache VaryByCustom="user" VaryByParam="none" Duration="60" Location="Server" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>OutputCache</title>
</head>
<body>
	<form id="form1" runat="server">
		<div style="font-size:50px">Stránka vygenerována: <%: DateTime.Now %>, User: <%: User.Identity.Name %><Br/>

			<asp:HyperLink NavigateUrl="~/Cache/Login.aspx" Text="Login" runat="server" /><br/>
			<asp:HyperLink NavigateUrl="~/Cache/Logout.aspx" Text="Logout" runat="server" /><br/>
			<asp:HyperLink NavigateUrl="~/Cache/OutputCache_VaryByCustom.aspx" Text="Refresh" runat="server" /><br/>
		</div>
	</form>
</body>
</html>
