The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Site Loading Time
Posted: 21 Jul 09 11:04 AM
|
Hello,
I deployed the SLX Client Web site on a Test repository. Everything works well except that to display the login page it takes more than two minutes. I thought first that it was because of the ASP.Net compilation on the fly because the second try was almost immediate. But if I try again 30 mn after it takes 2 mn once more.
Is there something wrong in my configuration? I'm on a default deployment on 2003 Server, IIS & SLX 7.5
|
|
|
|
Re: Site Loading Time
Posted: 21 Jul 09 11:23 AM
|
Is this for a production site? If so, do the deployment with the "precompile" option. Otherwise, it will indeed be slow.
If after you do it precompiled, the loading doesn't improve, I would suggest that you look into the performance of your Web Server and ensure that you have enough resources available. |
|
|
|
Re: Site Loading Time
Posted: 21 Jul 09 11:25 AM
|
Originally posted by JJE
Hello, But if I try again 30 mn after it takes 2 mn once more.
|
|
This is probably related to your Application Pool settings. If your application pool is unloading after a certain period of non-activity, then when you come back to it half an hour later, it will indeed be a complete start. |
|
|
|
Re: Site Loading Time
Posted: 22 Jul 09 11:31 AM
|
Raul,
I've noticed that even after deploying with Precompile checked, the initial load time for each page is still significant - 20-30 seconds or more. I don't believe the time is related to compiling (otherwise what does precompile mean!) but rather some other activity that IIS and ASP.NET needs to do - such as instantiating the worker process or something. After reading your posts related to precompiling, I'm now wondering if I'm doing something wrong as indicated by the long initial load times even with precompile checked.
Any thoughts?
Thanks!
Doug Evenhouse |
|
|
|
Re: Site Loading Time
Posted: 22 Jul 09 11:47 AM
|
First of all, verify that the site indeed got precompiled.
Second, the initial load, even on precompile will take about 20 to 30 seconds. This delay typically affects the first user to hit a given instance of SLX, so you may want to consider priming it.
|
|
|
|
Re: Site Loading Time
Posted: 22 Jul 09 11:54 AM
|
OK - thanks. Now I'll display my further ignorance on these issues: by what method do you recommend "priming" the site? |
|
|
|
Re: Site Loading Time
Posted: 22 Jul 09 1:55 PM
|
One way I have done it, is by manually accessing each instance after a schedule server reboot (we had the Apps setup to never restart, but we would reboot servers often). Another way is by using a script from an automated testing tool and/or by writing your own script (e.g. VB Script using XMLHTTP to request content from the site). |
|
|
|