Cannot use ASP.NET output caching

Our site is built on the internatial retail2002 site using CS 2002 and ASP.NET. We've expirienced serious performance problems recently so it's about time to start taking advantage of the output caching functionality in ASP.NET.

The strange thing is that when I add the following code at the top of the ASP.NET pages in our site no caching of the pages occur.

<%@ OutputCache Duration="60" VaryByParam="None" %>

I've tried by writing the current time to the pages but it changes with every browser refresh. This works perfectly fine however in our pages in our sites not using CS on our server. Is output caching somehow disabled globally somewhere or what's going on? I've also tried changing the attribute debugLevel to "production" in web.config but the same problem persists. I've read somewhere about an attribute called outputcachingenabled, but I can't find it in web.config.

Can someone please help me?
/Henrik

[1028 byte] By [HenrikG] at [2008-2-26]
# 1

Hi Henrik, this seems to be more of an ASP.NET cache setting question. Best posted in the ASP.NET Forums.

CaesarSamsi-MSFT at 2007-9-3 > top of Msdn Tech,Commerce Server,Commerce Server 2002 and Earlier...