Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Slow 1st Load.  I have a site that is built with ASP.NET.  I really need help w/ this.

Posted on 2007-12-06
8
Medium Priority
?
273 Views
Last Modified: 2013-11-07
Hello, I am having a really hard time figuring this out.  

I have a site that has a very long load time on the first visit.  Then it is very fast for the rest of the time I use the site.  I know it compiles, but I can only be idle for about 1-2 minutes before I have to wait for the long load.

I have about 1800 301 redirects.  Could this be it?  

I wrote a page that frames our site and then refreshes every 5 seconds.  I ran it from my computer and 2 hours later I visited the site.  This worked.

I don't want to have to keep this page running on my computer 24/7.

I put it on a cron job on another server to duplicate this.  I did a get contents in php.  I also tried the frame, but neither have the same effect.

In the apps he set the purge info to 2 hours, so this 1st page load lag should not be happening.

The developer I'm working with can't figure it out either.  Please give me any suggestions.  I'm freaking out here.  Thanks.
0
Comment
Question by:smoothcat11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
8 Comments
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 20421878
Have you tried using precompiled code?
0
 

Author Comment

by:smoothcat11
ID: 20421918
Yes, the code is precompiled.  I am stuck on this.  If you have any other ideas, I would appreciate it.  Thanks.
0
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 20422266
The reason I asked was that you said "I know it compiles", which would not be true if you had precompiled it.

I would have asked about application/session events, but if only 2 minutes go by, that sounds too short for a session to time out.

Perhaps it is ALWAYS very slow, and only gives the APPEARANCE of better speed because you are only picking up a cached copy?  Is your page REALLY being "hit" on the fast ones?


Some tools and techniques for monitoring and improving ASP.NET performance are HERE: http://msdn2.microsoft.com/en-us/library/44e5wy6k.aspx
0
How To Install Bash on Windows 10

Windows’ budding partnership with Canonical has certainly led to some great improvements. One of them being the ability to use Bash on your Windows machine without third party applications! This might be one of the greatest things a cloud engineer in a Windows environment can do!

 

Author Comment

by:smoothcat11
ID: 20422351
You're right.  It doesn't compile if it is precompiled.  That was a good question.  I am not that familiar w/ asp.net.  I usually use PHP which doesn't need to compile.

It's not the cache.  I go to brand new pages never hit and it's blazing.  It's just the initial load.

Are there any settings in the apps to make this not time out?  If so, can you tell me what they are?  Thanks for your time.

0
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 20422418
You could play with sessionTimeout in web.config, but it seems unlikely for it to have been set as low as 2 minutes.
0
 

Author Comment

by:smoothcat11
ID: 20503732
It was the firewall!!!  Aparently the power supply had to be replaced.  Who would have thought that??? Also there were issues w/ some other hardware on the server.  Took forever to figure out.  I hope this helps someone!  Thanks.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 20952965
PAQed with points refunded (500)

Computer101
Community Support Moderator
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question