Disable server side caching ASP.net
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 i开发者_如何转开发t's called output caching, but I might be wrong.
Have a look at the page or control in question for something like the following:
<%@ OutputCache Duration="18000" VaryByParam="none" %>
Remove the line.
精彩评论