title: Prevent Caching of Attributes in ASP.NET MVC, force Attribute Execution every time an Action is Executed
body: <p>According to various articles (e.g. <a href="http://blogs.teamb.com/craigstuntz/2009/09/09/38390/" rel="nofollow noreferrer">here</a> and <a href="https://stackoverflow.com/questions/1440121/actionfilterattribute-apply-to-actions-of-a-specific-controller-type">here</a>) attribute results on ASP.NET MVC Actions may be <strong>cached</strong> and <strong>not executed again</strong> when a controller action is called.</p>
  
  <p>That behavior is not desired in my case (e.g. I have an authorization system based on my own attributes and IPs, role checks that need to execute every time, and other things).</p>
  
  <p>How can I prevent ASP.NET MVC from caching my attributes/attribute execution results and guarantee that they are <strong>executed every time</strong>?</p>