Clearing Page Cache in ASP.NET
Posted
by GateKiller
on Stack Overflow
See other posts from Stack Overflow
or by GateKiller
Published on 2008-08-14T19:39:32Z
Indexed on
2010/06/01
6:03 UTC
Read the original article
Hit count: 258
For my blog I am wanting to use the Output Cache to save a cached version of a perticular post for around 10 minutes, and thats fine...
<%@OutputCache Duration="600" VaryByParam="*" %>
However, if someone posts a comment, I want to clear the cache so that the page is refreshed and the comment can be seen.
How do I do this in ASP.Net C#?
© Stack Overflow or respective owner