PC Review


Reply
Thread Tools Rate Thread

Delay in processing of aspx pages?

 
 
Kristoffer Arfvidson
Guest
Posts: n/a
 
      22nd Jan 2004
In my server I notice a small delay of about 2 seconds before it starts
processing aspx documents...

Because I have first off an standard asp page, witch contains the frameset
and title and so on...
This one comes up quickly, then my IE says Ready...
and waits for about 2 seconds, then, it starts to load the aspx file...

How come there is a delay before aspx files are processed?
The asp file it not cached (And I tryed to remove all cache)

My server provider uses win 2000 to process ASP.NET pages...

Yours: Kristoffer


 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      22nd Jan 2004
JIT compilation of IL for the first hit. Not sure if it happens every time,
except it may have to do with the fact that ASP and ASP.NET session are two
different creatures.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
"Kristoffer Arfvidson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In my server I notice a small delay of about 2 seconds before it starts
> processing aspx documents...
>
> Because I have first off an standard asp page, witch contains the frameset
> and title and so on...
> This one comes up quickly, then my IE says Ready...
> and waits for about 2 seconds, then, it starts to load the aspx file...
>
> How come there is a delay before aspx files are processed?
> The asp file it not cached (And I tryed to remove all cache)
>
> My server provider uses win 2000 to process ASP.NET pages...
>
> Yours: Kristoffer
>
>



 
Reply With Quote
 
Craig
Guest
Posts: n/a
 
      22nd Jan 2004
Is it just the first time it loads after compiling? That would be JIT
working...

If it does it *every* time, then I don't know what to tell you...

"Kristoffer Arfvidson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In my server I notice a small delay of about 2 seconds before it starts
> processing aspx documents...
>
> Because I have first off an standard asp page, witch contains the frameset
> and title and so on...
> This one comes up quickly, then my IE says Ready...
> and waits for about 2 seconds, then, it starts to load the aspx file...
>
> How come there is a delay before aspx files are processed?
> The asp file it not cached (And I tryed to remove all cache)
>
> My server provider uses win 2000 to process ASP.NET pages...
>
> Yours: Kristoffer
>
>



 
Reply With Quote
 
Kristoffer Arfvidson
Guest
Posts: n/a
 
      22nd Jan 2004
Aha, but the thing is that it seams (I could be wrong here) but it seams
that this delay is done everytime a client connects then, Once its done and
the client stays connected, its fast and so...
Its just the first time, but what annoys me is that it seams to be every
time a client connects...

witch means, that the response time for my server appears to be very slow,
as in fact it may not be...

Im thinking about if there is a possibility to show a "Loading..." text
while the JIT is compiling the code?
so that the users are aware of that something is actually happening and the
server is availible and contacted?

Yours: Kristoffer

"Cowboy (Gregory A. Beamer)" <(E-Mail Removed)> skrev i
meddelandet news:%(E-Mail Removed)...
> JIT compilation of IL for the first hit. Not sure if it happens every

time,
> except it may have to do with the fact that ASP and ASP.NET session are

two
> different creatures.
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> **********************************************************************
> Think Outside the Box!
> **********************************************************************
> "Kristoffer Arfvidson" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > In my server I notice a small delay of about 2 seconds before it starts
> > processing aspx documents...
> >
> > Because I have first off an standard asp page, witch contains the

frameset
> > and title and so on...
> > This one comes up quickly, then my IE says Ready...
> > and waits for about 2 seconds, then, it starts to load the aspx file...
> >
> > How come there is a delay before aspx files are processed?
> > The asp file it not cached (And I tryed to remove all cache)
> >
> > My server provider uses win 2000 to process ASP.NET pages...
> >
> > Yours: Kristoffer
> >
> >

>
>



 
Reply With Quote
 
Michael
Guest
Posts: n/a
 
      22nd Jan 2004
> Im thinking about if there is a possibility to show a "Loading..." text
> while the JIT is compiling the code?
> so that the users are aware of that something is actually happening and

the
> server is availible and contacted?


Oh come now, it doesn't take THAT long. :-)


 
Reply With Quote
 
Hans Kesting
Guest
Posts: n/a
 
      23rd Jan 2004

"Kristoffer Arfvidson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Aha, but the thing is that it seams (I could be wrong here) but it seams
> that this delay is done everytime a client connects then, Once its done

and
> the client stays connected, its fast and so...
> Its just the first time, but what annoys me is that it seams to be every
> time a client connects...
>


How often do these client connect?

As far as I know, the following is regular behaviour by asp.net:
* the first time anyone accesses the page, it gets JIT-compiled. This
compiled
version is cached.
* the next time this page is accessed, the compiled version from the cache
is used.
* when the application is restarted, the cache is empty, so the next access
will cause recompilation.
* some situations where application restart can occur:
* after a change to web.config
* after new dll's are copied to this app.
* after the application has been inactive for a while (possibly right
after the last
session has expired)

Hans Kesting


 
Reply With Quote
 
Kristoffer Arfvidson
Guest
Posts: n/a
 
      24th Jan 2004
Hmm, actually it does...
Unfortunatly, it does take some time...
I donīt know, maybe its something else that is wrong in my code, well, maybe
Ill write a loading text in the asp page, ill see...

Yours: Kristoffer

"Michael" <raterus@localhost> skrev i meddelandet
news:(E-Mail Removed)...
> > Im thinking about if there is a possibility to show a "Loading..." text
> > while the JIT is compiling the code?
> > so that the users are aware of that something is actually happening and

> the
> > server is availible and contacted?

>
> Oh come now, it doesn't take THAT long. :-)
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to simulate a directory structure of aspx pages with one processing page Janusz Jezowicz Microsoft ASP .NET 3 15th Nov 2009 04:36 PM
Long Delay in initial load of ASPX pages =?Utf-8?B?QWxleCBNYWdoZW4=?= Microsoft ASP .NET 4 19th Aug 2006 12:07 AM
Delay in code processing =?Utf-8?B?TWlrZQ==?= Microsoft Access Form Coding 2 12th Jul 2005 08:15 AM
Delay Rule Processing? =?Utf-8?B?QWlyLXJvbg==?= Microsoft Outlook Discussion 1 18th Apr 2005 08:28 PM
Processing delay after SP2 install shauna Windows XP Help 1 15th Nov 2004 09:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:17 PM.