473,378 Members | 1,236 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,378 software developers and data experts.

ASP.net first load slow

Hi

I apologise if this question has been asked many times but I have not found
any sufficient answers anywhere.

I have a asp.net website which is a fairly small site (5 pages) which
doesn't get that much traffic. I have noticed that when the site loads for
the first time - it takes sometimes up to 5 seconds for it load. After which,
it is very quick.

I realise that this is because the site is being compiled for the first time
- but is there any solution so that the user does not have to wait so long
the first time? I feel that some people may not wish to wait this 5 secs. Can
you also tell me how long a site, once it has been compiled - stays in its
compiled state? What is the timeout period, in which it loads quickly - and
then loads slower (because it has to be compiled again)?

If there is no easy solution, is it a general rule that for small sites,
with not that much traffic - that they should be built using ASP rather than
ASP.net?

Thanks in advance
Dan Rostron.
Jul 24 '06 #1
1 5412
Hi
>
I apologise if this question has been asked many times but I have not found
any sufficient answers anywhere.

I have a asp.net website which is a fairly small site (5 pages) which
doesn't get that much traffic. I have noticed that when the site loads for
the first time - it takes sometimes up to 5 seconds for it load. After which,
it is very quick.

I realise that this is because the site is being compiled for the first time
- but is there any solution so that the user does not have to wait so long
the first time? I feel that some people may not wish to wait this 5 secs. Can
you also tell me how long a site, once it has been compiled - stays in its
compiled state? What is the timeout period, in which it loads quickly - and
then loads slower (because it has to be compiled again)?

If there is no easy solution, is it a general rule that for small sites,
with not that much traffic - that they should be built using ASP rather than
ASP.net?

Thanks in advance
Dan Rostron.
The choice between ASP and ASP.Net is more a technology choice: "what
do I *need*?". ASP.Net has much more built-in functionality.

For your site you could start with a plain html page as entrance-point.
This doesn't need to precompile. Show some "welcome to my site" text
and use a <meta http-equiv=refresh content="1;URL=default.aspx"in the
header to redirect to your asp.net startpage in 1 second (which could
end up as 6 seconds because of the precompile). Use (at least) 1
second, so that the page *does* show (I have a feeling that if you use
a 0 second delay, the browser might ignore the contents and redirect
immediately).

Hans Kesting
Jul 24 '06 #2

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

Similar topics

19
by: DotNetIsHorrible | last post by:
I write CRUD database applications for a living for an audience of about 100 users per application using classic ASP. I maintain and frequently change on user's request 22 different applications...
2
by: Shige | last post by:
I have a .Net website hosted on another IIS6.0. Whenever I tried to access my website after a long time, it will take forever to load, my browser will just show a blank white page and the progress...
1
by: z. f. | last post by:
Hi, i have a dot-net app. the first load is really slow, about 4 seconds at least. next requests are very fast. is there a way to analyze the buttleneck in the load process of a asp-net...
1
by: Ming Zhang | last post by:
Hi all, Our application has 300+ dlls, which causes ASP.NET very slow (2-3 minutes) the first time load it. This is acceptable for production but it's really annoying for developers. When...
4
by: jordi_ramis | last post by:
Hi, I'm currently using image.fromfile to load jpg images in my application. I've noted that this procedure is very slow compared to some aplications I have seen. Is there any way to load a jpeg...
9
by: SAL | last post by:
I have an ASP.NET 2.0 app that takes about 17 seconds to load on first startup but then is very fast after that. As I understand it from some posts in June, this is caused by the loading of the App...
2
by: RZ15 | last post by:
Hi guys, I'm attempting to run a query that I made and it is running way too slow. Everything seems to work fine until I add in a table (dbo_INIH) and a field from that table (TAKBY). The reaction...
5
by: Med | last post by:
Hi, Initial load of my pre-compiled ASP.NET app takes more than 50 seconds to load after site has been idle for a while. Then it become fairly fast. Followings are my app/hardware configs: ...
13
by: rdudejr | last post by:
Hi all, I hardly ever make a post unless I am having a very purplexing issue, so this one should be good... I am trying to do a load against a database on an AIX server into a DB2 v9.1...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.