First Hit performance issues

Posted on 2006-06-05
Last Modified: 2012-06-27
I have a website that is built entirely in ASP.NET.  It is suffering from "first hit performance issues".  ie:  First time somone visits, it is slow to load, then its fast after that.   I have tried precompiling the site (using a tool I found) and it works great - but only for a few hours.  The site then (without having made any changes to it) returns to its "first hit performance issues" state.

If anyone can please help me permanently correct this problem, I would greatly appreciate it!

Question by:cstiles
    LVL 23

    Accepted Solution

    Framework will recycle the application if there are no users accessing the site for sometime. This way framework can offload the applications that are dormant and do not require any resources. You just need a mechanism to keep the application alive if its that big a deal for you to get rid of this first hit issue.
    LVL 9

    Expert Comment

    Is this website running on a dedicated server?

    Author Comment

    yes - there is a couple of other websites running on the same server, and my mail server and ftp server are on this same machine ...

    There must be a way to tell the server not  to recycle the application??????
    LVL 9

    Expert Comment

    >There must be a way to tell the server not  to recycle the application??????
    Web servers are designed with cache alogrythms to keep the most often used and most recently used pages in the cache.  I'd be stunned if the server allowed you to override this by specifiying a resource to keep in cache.

    So,  naveenkohli has the solution, you need a 'keep alive' process.  But I doubt who ever is managing the server will let you put one on the server.  So it would have to be a client process that hits your site on a scheduled basis.  I've got no idea how to do that.


    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Suggested Solutions

    In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
    Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now