Last post Aug 08, 2008 11:38 PM by Ganesh@Nilgris
Aug 07, 2008 06:01 AM|adeninSK|LINK
I use w2003 server with iis6 to run my asp.net apps.
Problem is, that when I start application, it takes 19 seconds to start (there is nothing on default.aspx which should cunsume such amount of time)
immediately after that is the same request processed in ~2 seconds or less.
the same response when trying is after 5 minutes.
Problem is if I try to start it after 30 minutes - it again takes 19 seconds
Is somewhere in IIS6 setting which could I use to avoid such behavior? (I would like to have 2second response time at each start)
Aug 07, 2008 07:00 AMemail@example.com|LINK
Get more users. Seriously. ASP.NET is compiled on first access and cached for 20 minutes. If not requested again, the cache expires and it needs to compile the next time.
Aug 07, 2008 07:29 AM|adeninSK|LINK
would it take markable amount of system resources If I set this time to for example 5000 minutes? or any other way to speed up?
Aug 07, 2008 07:46 AM|dharnendra|LINK
Use Cache mechanism for that.
Refer below link,i think you can use output cache for that page.
Aug 07, 2008 07:49 AM|Ramkumar.Venkatachalam|LINK
CacheDependency cacheDependency = newCacheDependency("userinfo.xml");
Like that u can use Cache the page and use it if the site run from cache then it will be very good for getting data from cache and it will inc the speed upto 20%
dispose unwanted object that will help u inc the speed upto 10%
Check every page for unwanted variable used in application
Create SP for DB access which will inc speed upto 10%
Handle the user details in Session which will inc upto 5%
Move ur DB to a sperate server for fast access and use view for frequently used Select Statements which inc upto 10%
Aug 07, 2008 08:19 AMfirstname.lastname@example.org|LINK
or any other way to speed up?
There are a number of ways to deal with this, from caching changes to precompiling to using a keep-alive service. But why do you need to? If you don't have enough traffic to keep the file compiled and cached, what difference does an initial load time make?
Aug 08, 2008 11:38 PM|Ganesh@Nilgris|LINK
please check the system configuration. I feel that .net requires a high configuration.
i have a system with pentium 4 dual core processor with 1 gb ram and 3 ghz speed and 120 gb hardisk with xp sp2. i use vs 2005 and ie 7. it takes me to 10 to 15 sec to load page particular when the page is offline and when it dont have a internet connection.
May be ie6 could run faster. but ie7 checks in background for phising and internet activites which probable takes long time..
please let me know if iam wrong any where??