title: w3wp.exe keeps reading my .compiled files
body: <p>We are running an asp.net website on IIS6. We just moved from .Net3.5 to .Net 4.0.
  In our build process we use aspnet_compiler te precompile and also aspnet_merge to merge the assemblies.</p>
  
  <p>After we converted to .Net 4.0 we did a performance test. This showed that the 4.0 version was much slower than the 3.5 version.</p>
  
  <p>We noticed that for every paged server the w3wp.exe proces reads the .compiled file (ie resultlistpage.aspx.cf9ca39a.compiled) from the /bin directory of the website. Not only it reads the .compiled file from the bin directory, but also for each control on the page it reads the corresponding .compiled file (like resultlist.ascx.639c3968.compiled). This happens for every page request.</p>
  
  <p>I used Sysinternals Process Monitor to see this.</p>
  
  <p>These aspx and ascx files are actually MVC2 views.</p>
  
  <p>I tried to turn off the 'Verify that file exists' option for .aspx en .ascx in IIS6, but this didn't help. Also I turned on the 'Cache ISAPI extensions' checkbox of my application, but to no avail.</p>
  
  <p>Our 3.5 version does not show this behaviour. It just loads the .compiled files once and then caches it.</p>
  
  <p>Getting desperate, how can I tell IIS6 not to read the .compiled files for every request?</p>
  
  <p>We will be moving to IIS7, but not very soon.</p>