I'm creating a ASP.NET MVC 2 application that envolve a section like questions here in stackoverflow (mine is with exams is another kind of application but can be extrapolate to same general idea of SO).
OK I'm creating a cache per page, its mean something like this:
[OutputCache(Duration=60, VaryByParam="page")]
ActionResult AllQuestions(int page){...}
But i want to invalidate that cache when a new question is created. What can i do.
I'm open to suggestions, perhaps this is not the best way to solve this problem