|
-
May 10th, 2005, 09:35 PM
#1
Thread Starter
Hyperactive Member
Page Takes A Long Time To Show
In creating an ASPX page, when you modify the page for whatever reason, I noticed that it takes a very long time before the page is fully visible on the browser. If you close the page and access it again, it comes up in a snap. I figured this because the first time it runs, the revised page is being recompiled (I use VS.NET 2003) and I'm in DEBUG mode.
However, I noticed the same thing on the clients when already in production. If I make changes on my project and and save with VS.NET in RELEASE configuration in the production server, clients accessing the web page for the first time after the revision takes awhile. Succeeding access on the same page is fast.
Any ideas why this is so?
Thanks
-
May 10th, 2005, 11:39 PM
#2
Re: Page Takes A Long Time To Show
Simple explanation: The first time you access the app, JIT is JITTING the Web Application's assembly.
-
May 11th, 2005, 07:41 AM
#3
Thread Starter
Hyperactive Member
Re: Page Takes A Long Time To Show
Would that in any way affect the client because I did notice that delay on the client too?
-
May 11th, 2005, 08:09 AM
#4
Re: Page Takes A Long Time To Show
It's applicable everywhere.
If you don't like it, you can do a search on Precompiling asp.net applications.
I did a search for you and saw this:
http://www.codeproject.com/aspnet/PreCompileAspx.asp
-
May 11th, 2005, 10:08 AM
#5
Thread Starter
Hyperactive Member
Re: Page Takes A Long Time To Show
 Originally Posted by mendhak
That was valuable information - thanks.
-
May 11th, 2005, 10:22 AM
#6
Frenzied Member
Re: Page Takes A Long Time To Show
If you are in debug mode it'll run a lot slower anyway - try taking it out of debug mode and see how quick it is then.
DJ
If I have been helpful please rate my post. If I haven't tell me!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|