title: Is there conditional caching in ASP.NET?
body: <p>Is there a built-in asp.net way to conditionally serve pages, for example I want the following logic:</p>
  
  <blockquote>
    <p>If there is a session data I generate
    a page, if there is no session data I
    serve the cached page.</p>
  </blockquote>
  
  <p>I am only interested in knowing about a built-in asp.net mechanism for this. If it does not exist I am probably going to simply cache my page manually and decide whether to serve it or not for each request, based on the session data availability.</p>