By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,269 Members | 1,507 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,269 IT Pros & Developers. It's quick & easy.

Delay in processing of aspx pages?

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
10 Replies


P: n/a
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" <kr********@spamtrap.com> wrote in message
news:uE**************@tk2msftngp13.phx.gbl...
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

Nov 18 '05 #2

P: n/a
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" <kr********@spamtrap.com> wrote in message
news:uE**************@tk2msftngp13.phx.gbl...
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

Nov 18 '05 #3

P: n/a
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)" <No************@comcast.netNoSpamM> skrev i
meddelandet news:%2***************@TK2MSFTNGP12.phx.gbl...
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" <kr********@spamtrap.com> wrote in message
news:uE**************@tk2msftngp13.phx.gbl...
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


Nov 18 '05 #4

P: n/a
> 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. :-)
Nov 18 '05 #5

P: n/a
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" <kr********@spamtrap.com> wrote in message
news:uE**************@tk2msftngp13.phx.gbl...
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

Nov 18 '05 #6

P: n/a
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" <kr********@spamtrap.com> wrote in message
news:uE**************@tk2msftngp13.phx.gbl...
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

Nov 18 '05 #7

P: n/a
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)" <No************@comcast.netNoSpamM> skrev i
meddelandet news:%2***************@TK2MSFTNGP12.phx.gbl...
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" <kr********@spamtrap.com> wrote in message
news:uE**************@tk2msftngp13.phx.gbl...
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


Nov 18 '05 #8

P: n/a
> 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. :-)
Nov 18 '05 #9

P: n/a

"Kristoffer Arfvidson" <kr********@spamtrap.com> wrote in message
news:uY**************@tk2msftngp13.phx.gbl...
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
Nov 18 '05 #10

P: n/a
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:e3**************@TK2MSFTNGP10.phx.gbl...
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. :-)

Nov 18 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.