title: ASP.NET precompiled but still slow startup time?
body: <p>I'm trying to figure out what I'm doing wrong or not understanding.  I have a solution with a web application and a few class libraries.  </p>
  
  <p>I edited the web app publish settings of the web project. It has "precompile this application before publishing" checked and I've selected "Only files needed to run this application".</p>
  
  <p>I created a publish profile which just dumps it to a folder.  From that folder I upload (using FTP) the DLLs to a staging site I have setup which is where I do final testing before deploying the app live.  After uploading the DLLs and going to the staging site there's still an app startup delay, which seems just as slow.  Isn't that supposed to be gone by precompiling?</p>
  
  <p>Edit: Turning off allowing the site to be updatable fixes the problem.  Allowing it to be updateable causes all of my ASPX pages and user controls to be compiled on first page view which is causing there to still be a delay even though the code behind is compiled.  I've disabled batch compiling and turned on optimizeCompilations in the web.config and now it's fast:</p>
  
  <pre><code>&lt;compilation batch="false" optimizeCompilations="true" /&gt;
  </code></pre>