First Time Login Page Loading is slow

Last post 08-06-2008 10:23 AM by titasix. 6 replies.

Sort Posts:

  • First Time Login Page Loading is slow

    03-28-2007, 3:42 PM
    • Member
      25 point Member
    • testmon77
    • Member since 01-11-2007, 9:07 PM
    • Posts 33

    Hi,

    We have ASP.NET Application in Test server. For first time accessing the Login page of that application is slow.  Response time is around 25-30 sec. After that I have refersh the page/Open with new browser, loading of Login Page is around 1-2 sec.

    Only user name & password columns are there in login page. Is there any way I can reduce the response time for first time loading?

    Thanks 

     

     

      

     

  • Re: First Time Login Page Loading is slow

    03-28-2007, 6:48 PM
    • Star
      8,077 point Star
    • Ken Tucker
    • Member since 12-23-2003, 1:40 PM
    • Port St. John, Florida
    • Posts 1,215
    • TrustedFriends-MVPs

    The first loading takes a long time because the website is starting up.  

  • Re: First Time Login Page Loading is slow

    03-28-2007, 7:55 PM
    • Member
      116 point Member
    • foolios
    • Member since 02-09-2007, 9:14 PM
    • Posts 219
    testmon77:

    Hi,

    We have ASP.NET Application in Test server. For first time accessing the Login page of that application is slow.  Response time is around 25-30 sec. After that I have refersh the page/Open with new browser, loading of Login Page is around 1-2 sec.

    Only user name & password columns are there in login page. Is there any way I can reduce the response time for first time loading?

    Thanks 

     

     

    Are you talking about after you have modified the application and then this occurs the first time you are running the new version of it?

    If that's so, the web application compiles upon the initial request. Then it's a faster load upon subsequent requests.

    That's as far as I understand it as I've been learning about it, but it appears it may be true as the previous post to mine seems to suggest something like this. 

    I hope that's what you were writing about. 

  • Re: First Time Login Page Loading is slow

    03-29-2007, 11:23 AM
    • Member
      25 point Member
    • testmon77
    • Member since 01-11-2007, 9:07 PM
    • Posts 33

    Thanks for your reply.

    Everyday morning when I access the web site its slow. I have measured thru HTTP Watch it is taking around 30 sec. For subsequent request it is taking around  less than 1sec.

    Elapsed Time                                      29.526 seconds
    Network Round Trips                            6 
    Downloaded Data                                 49998 bytes
    Uploaded Data                                     3030 bytes
    HTTP Compression Savings                  0 bytes
    DNS Lookups                                      1 
    TCP Connects                                     2 
    Total HTTPS overhead                          400 bytes
    Average HTTPS overhead per request    66 bytes

    For subsequent request also I got the same result, only elasped time alone is different. Do I need to change any IIS settings?

     

  • Re: First Time Login Page Loading is slow

    03-29-2007, 10:44 PM
    Answer
    Hi,
    It's because the applicaion is compiled on the fly. Please precompile it.
    Try this:
    http://msdn2.microsoft.com/en-us/library/ms228015.aspx
    http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx

    Hope it helps.
  • Re: First Time Login Page Loading is slow

    11-28-2007, 7:51 PM
    • Member
      20 point Member
    • shalack94
    • Member since 10-24-2007, 1:34 AM
    • Posts 10
    I had the same problem. The reason is that the application domain times out every 20 mins if there is no activity, the first request after the timeout can force a recompile and reload of cache. Changing some settings in the machine.config file will solve the problem; unfortunately for me my hosting provider would not allow me to make this change. I found this utility to be useful.

    http://www.spikesolutions.net/ViewSolution.aspx?ID=c2b7edc0-5de1-4064-a432-05f6eded3b82

    Essentially it "Pings" my home page every few mins so the application domain does not time out. The utility can also be configured to ping more than one page so that auxiliary pages are fast too.
  • Re: First Time Login Page Loading is slow

    08-06-2008, 10:23 AM
    • Member
      8 point Member
    • titasix
    • Member since 09-03-2007, 10:35 AM
    • Posts 19

     Thx guys it's great..!!!!

Page 1 of 1 (7 items)