What would prevent ASP.NET from Output Caching?

Posted by amarsuperstar on Stack Overflow See other posts from Stack Overflow or by amarsuperstar
Published on 2010-03-03T09:38:02Z Indexed on 2010/05/08 20:28 UTC
Read the original article Hit count: 192

Filed under:
|
|

I have an ASP.NET application, and am trying to output cache a certain page, however on every request, the debugger is still hitting the OnLoad method and I get a 200 response back.

I have placed the output cache directive on a page like so:

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

And ensured I have the OutputCache module

<add name="OutputCache" type="System.Web.Caching.OutputCacheModule"/>

And have also bypassed URL rewriting just in case. I have tried this using Cassini and IIS 5.1 (XP), however the page is not caching at all.

Are there any other factors which I have not looked at which could affect this feature?

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about outputcache