473,406 Members | 2,387 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Delay in processing of aspx pages?

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
10 3316
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
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
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
> 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
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
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
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
> 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

"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: adish11 | last post by:
Hi, In Web Application I would like to create delay for 30 sec in the code to enable external process to run. During the delay in application I would like to show the user message like "Please...
20
by: Doug Thews | last post by:
I ran into an interesting re-pain delay after calling the Abort() method on a thread, but it only happens the very first time I call it. Every time afterward, there is no delay. I've got a...
4
by: Vito DeCarlo | last post by:
Over the past week, I've been noticing that any websites (on this one particular web server) built with ASP.NET have unusually slow (5 second) response times when moving through the site. There...
3
by: Wayne Wengert | last post by:
With most web sites I build that include aspx pages, when the user loads the first aspx page there is a noticeable delay (15 - 30 sec) before it is completely loaded. What causes this. I thought it...
2
by: Janusz Jezowicz | last post by:
Hello! I would like to have one page on the server, which would be a target processing page for a number of other aspx pages. E.g Processing page \portal_page.aspx Target pages
3
by: matvdl | last post by:
I have a problem at the moment where an external program writes aspx files to a server and then allows people to brows to those pages. Each aspx page is similiar and is written in a single file -...
4
by: Alex Maghen | last post by:
I've just moved to a new hosting company which provides me a "Virtual Dedicated Server" running Windows Server 2003/ASP.NET 2.0. My site is not pre-compiled and, at least for now, I'd prefer that...
0
by: David Jackson | last post by:
Hello, I first posted this several weeks ago but didn't get any replies so I'm trying again in the hope that someone might be able to help. We are in the process of upgrading our internal web...
3
by: joelkeepup | last post by:
Hi, im trying to create a text email message using xslt template , the transforms work great, but the newlines and whitespace in the xslt doc are removed. Is there a setting somewhere I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.