title: ASP.NET MVC5 each Razor Page very slow on first load
body: <p>This is not the same delay experiences when the <em>first request</em> arrives, but this is a delay that is experienced each time a Razor based view is accessed for the first time, it can take a second or two. All subsequent requests to that view are very fast.  This happens even for simple views that are not doing any kind of programmatic work (such as accessing a database etc).</p>
  
  <p>I've already ensured that <code>debug=false</code> in the compilation tag under system.web in the config file.</p>
  
  <p>I've also removed set Razor as the only view-engine via the <code>Global.asax</code></p>
  
  <p><strong>What could be causing this delay?</strong>  This seems like a problem experienced in the old asp.net 'website' days before it moved to a 'web application' where each .aspx.cs codebehind was compiled at deployment rather than at runtime.  Does Razor still suffer from this?</p>