Output Cache - Not Working


A

Adotek

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.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top