Hi everybody,
After starting the servlet engine, the first request to use a Velocity
template normally takes a bit of time to generate the output, but then
once this initial request has been made, all subsequent requests to use
Velocity are quicker.

I don't want any users to experience this startup delay, so I thought
the most obvious thing to do would be to have a servlet with an init
method that makes a URLConnection to a page generated with Turbine's
Velocity service. Whenever the servlet engine is started, this init
method is called and the first request to a velocity generated page is
made by this servlet and not a user.

What I was hoping is if someone could tell me if this is a sensible way
of overcoming the 1st request delay for velocity/turbine, or if there's
a better way or a universally agreed method of doing this.

Thanks in advance & even more thanks for this fantastic framework,
Eliot

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to