473,806 Members | 2,735 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3360
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********@spa mtrap.com> wrote in message
news:uE******** ******@tk2msftn gp13.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********@spa mtrap.com> wrote in message
news:uE******** ******@tk2msftn gp13.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.netNoS pamM> skrev i
meddelandet news:%2******** *******@TK2MSFT NGP12.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********@spa mtrap.com> wrote in message
news:uE******** ******@tk2msftn gp13.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********@spa mtrap.com> wrote in message
news:uE******** ******@tk2msftn gp13.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********@spa mtrap.com> wrote in message
news:uE******** ******@tk2msftn gp13.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.netNoS pamM> skrev i
meddelandet news:%2******** *******@TK2MSFT NGP12.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********@spa mtrap.com> wrote in message
news:uE******** ******@tk2msftn gp13.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********@spa mtrap.com> wrote in message
news:uY******** ******@tk2msftn gp13.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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7246
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 wait while the data being updated..." Can u help me please with code lines? Thank u very much for the help and the answer.
20
3038
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 delegate inside the UI that I call to update the progress meter. I use the Suspend() and Abort() methods based on button events. I can watch the progress meter increase just fine when the thread is running. When I select Start, I enable the Cancel...
4
2164
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 are times when the delays dissappear, but they are existent 80% of the time. This has only started up over the past week or so and I have checked CPU usage, memory usage, etc. I've also reinstalled the 1.1 version of the .NET framework just to...
3
1882
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 might be loading the framework but it happens on systems where I know the framework is loaded. TIA Wayne
2
2181
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
1294
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 - the file contains both <%= %> attributes and <SCRIPT runat=server> code. Each file has a unique name. After a short time this gets out-off control and the memory of the server goes through the roof - the performance is also not too good becuase...
4
1860
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 it stay that way. I have ASPX pages with .CS code-behinds and I have a bunch of .CS class files in the APP_CODE diredctory of my application. Everything runs fine but I have an interesting problem: When I go to the site for the first time in a...
0
1031
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 applications from v2.0 to v3.5. A colleague has built a machine with 4GB RAM, 64-bit Vista Business Edition and Visual Studio.NET 2008.
3
4530
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 missed: My template is: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/ Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result- prefixes="msxsl">
0
9599
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10624
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10374
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9193
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5684
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.