title: MVC3 Razor - Expiring pages
body: <p>I need to expire my content so that when the user hits the browsers navigation(back) button the controller action gets executed. So instead of adding the following code to each and every<br>
  action is there a better way to do it. </p>
  
  <pre><code>HttpContext.Response.Expires = -1;
  HttpContext.Response.Cache.SetNoServerCaching();
  Response.Cache.SetAllowResponseInBrowserHistory(false);
  Response.CacheControl = "no-cache";
  Response.Cache.SetNoStore();
  </code></pre>