| Henrik 2006-11-17, 7:24 am |
| 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
|