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
271 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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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