first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

ASP.NET: “Don’t run production ASP.NET Applications with debug="true" enabled”; Scott Guthrie

One of the things you want to avoid when deploying an ASP.NET application into production is to accidentally (or deliberately) leave the <compilation debug="true"/> switch on within the application’s web.config file.

Doing so causes a number of non-optimal things to happen including:

  1. The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled)

  2. Code can execute slower (since some additional debug paths are enabled)

  3. Much more memory is used within the application at runtime

  4. Scripts and images downloaded from the WebResources.axd handler are not cached

[http://weblogs.asp.net/scottgu/archive/2006/04/11/Don_1920_t-run- production-ASP.NET-Applications-with-debug_3D001D20_true_1D20_- enabled.aspx]

mod date: 2009-08-15T02:32:39.000Z