Last post Jul 13, 2009 01:06 PM by SanjayU
Jul 09, 2009 09:10 AM|rbadis|LINK
Is there a difference in terms of speed and performance between a Precompiled website or by just copying the website files and complete structure to a web server? because, I heard that after running a webpage from the copied website, the website will compiled
and cached anyway!?
Jul 09, 2009 01:23 PM|shanakaperera|LINK
Hope This will help you
ASP.NET Web Site Precompilation Overview
Jul 09, 2009 05:34 PM|rbadis|LINK
Thanks, that confirms what I heard, but I'm still wondering if a cached resources of a webpage from a first use would be as fast as a precompiled website!!?
Jul 13, 2009 01:06 PM|SanjayU|LINK
If you don't pre-compile a site when a user goes to a page, the directory [on that server] will be compiled. Once this happens, your pages should be the same speed whether you pre-compiled or not. Pre-compilation simply removes that step...so yes, they
will run at the same speed but only after this first compile has taken place.
"Precompiling a site in place effectively performs the same compilation that occurs when users request pages from the site. Therefore, the primary performance improvement is that pages do not have to be compiled for the first request." - http://msdn.microsoft.com/en-us/library/bb398860.aspx