开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜