XPages slow on server first time load

We are experiencing an issue where the first time an XPages application is accessed on a server it is VERY slow to load (this morning took about 2 minutes to load). Subsequent connections to the application from that point are then much faster, without any noticeable delay.

I was wondering if this is to do with the server having to load resources (like the JVM) the first time a call to an XPages application is made after an idle period.

If so, is there a way to tell the server to keep everything loaded so there is not a delay?

If not, is there any other reason that very first load could be slow?

Hopefully there is a nice INI setting like “XPAGES_RUN_FAST=TRUE”.

Until then at the moment this is affecting the rollout of our first XPages application so if there are any suggestions they would be gratefully received.

I have looked at a couple of other links that suggest it might be a DNS issue, or the JVM memory allocation, but don’t seem to have made a difference.

Subject: Did you ever find an answer to this?

Hi Steven,I am having the same exact issue. VERY slow start-up every morning… then it is snappy after that.

I have noticed that a restart of http slows it down too, but not quite as bad. In the status bar you see “Waiting on servername…”. But if I watch the server console, it does NOTHING (sometimes it sits this way for up to a minute). Then, once it takes off again, I can see the HTTP JVM load all of xsps and java classes (I have 8 customs java classes).

Any ideas you can provide would be great!

Subject: Not very gould news, but…

Hello.You shoud read this:

http://seancull.co.uk/Public/seancull.nsf/dx/concerns-about-the-speed-of-xpages-in-the-client-xpinc-please-comment..htm