It's a least recently used (LRU) cache with a cap. So yes, it will remain
in memory as long as the size is under the cap. (very likely with just one
template).
Not a big deal either way - your choice.
WILL
----- Original Message -----
From: "Manisha Sathe" <[EMAIL PROTECTED]>
To: "Velocity Users List" <velocity-user@jakarta.apache.org>
Sent: Saturday, October 08, 2005 10:52 AM
Subject: Re: Can i preload template inside init() of my servlet
Thanks WILL for the reply,
However - you may not need to do this as Velocity
has a pretty efficient
caching engine.
But velocity catching means whether it will remain in
memory permanently?
Only one servlet is calling it and i do not expect it
to be called frequently.
In this case which method is preferable?
regards
Manisha
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]