views:

37

answers:

1

How can i disable absolutely all caching on for an asp.net website? I have problems with asp:literal caching its values and it's annoying as hell. Don't tell me it's a bad idea to do that, since it's for a development version only. I think it's called output caching, but i might be wrong. Thanks for the help

A: 

Have a look at the page or control in question for something like the following:

<%@ OutputCache Duration="18000" VaryByParam="none" %>

Remove the line.

Joe R
Unfortunately, there is no such line. I've tried adding one with duration of 1 second, but then the page wouldn't display at all (maybe i needed to restart the debugger)
Marius S.