On May 23, 4:53 pm, Adotek <simonmhar...@googlemail.com> wrote:
> Hi All,
>
> I have just enabled output caching on a page, the URL is:
> Menu2.aspx?user=simon
>
> My page/outputcache directives are:
> <%@ Page Language="vb" AutoEventWireup="false"
> Codebehind="Menu.aspx.vb" Inherits="OldInfra.Menu" Trace="true"
> enableviewstate="False"%>
> <%@ OutputCache Duration="60" VaryByParam="user" %>
>
> After enabling outputcache, I did not see any improvement in
> performance, so I added this to the page:
> Page Generated: <%=Now()%>
> ...which always outputs a different time, so I guess this proves it
> isnt working? Is there anything else I need to do?
>
> THanks,
> Simon.
Set the Trace attribute to false.
|