What I am doing is use Canoo (a web test package) to walk through my pages
tp get them cached..

Basically it takes an ant script that tells it how to reach each form or
page..

It is a very slick package (runs on top of HTTPUnit).

Eric

-----Original Message-----
From: Eliot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:16 AM
To: turbine-user
Subject: When & where to make 1st request for a Velocity generated page


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]>


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

Reply via email to