![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
How do I prevent the first asp.net page loading slowly?
After I start IIS the very first page to load on my website takes about five
minutes (I think because the JIT compiler has to run through and compile all the assemblies, and I guess some other initialisation work is performed). Is there a way to get this initialisation to occur automatically without the first visitor to the site experiencing this problem? |
|
|||
|
Re: How do I prevent the first asp.net page loading slowly?
I don't know of one that you can do, but I also have little experience
actually working directly with IIS (I have never had access to anything beyond what my webhosting service gives me access to). However, something that you can obviously do is after you upload any modified files, visit the site yourself (in other words, pretend to be a visitor) and then all your customers will not have to experience the delay of being the first one. There may be a way to do what you are asking, I have heard of something called precompiling, but I do not know how to do that for ASP.NET Web Applications, and I am not sure how much configuration in IIS is involved. -- Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/ "Jason Madison" <jason.madison@btinternet.com> wrote in message news:37B1D454-11DC-45F1-8C6C-8CE14C831D56@microsoft.com... > After I start IIS the very first page to load on my website takes about > five minutes (I think because the JIT compiler has to run through and > compile all the assemblies, and I guess some other initialisation work is > performed). > > Is there a way to get this initialisation to occur automatically without > the first visitor to the site experiencing this problem? > |
|
|||
|
Re: How do I prevent the first asp.net page loading slowly?
How is the site deployed ? Not compiled at all or precompiled ?
Is this really 5 minutes or just "a bit slow" ? The first hit likely take some time here also but not 5 minutes... (I remember to have seen an issue about ASP.NET accounts such as http://blogs.msdn.com/jamesche/archi...lication.aspx). -- Patrice "Jason Madison" <jason.madison@btinternet.com> a écrit dans le message de groupe de discussion : 37B1D454-11DC-45F1-8C6C-8CE14C831D56@microsoft.com... > After I start IIS the very first page to load on my website takes about > five minutes (I think because the JIT compiler has to run through and > compile all the assemblies, and I guess some other initialisation work is > performed). > > Is there a way to get this initialisation to occur automatically without > the first visitor to the site experiencing this problem? > |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|