You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Tim Chamberlain <tc...@sportingnews.com> on 2001/12/04 21:06:24 UTC
Dumping The Template Cache
Hello list,
I need to find a way to dump all of the templates cached in velocity on
demand. I know version 1.2 does not currently implement this, will this be
possible in version 1.3, or does anyone know a way this can be done?
Thanks again,
Tim
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Dumping The Template Cache
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 12/4/01 9:46 PM, "Tim Chamberlain" <tc...@sportingnews.com> wrote:
> Hello again,
>
> Thanks for the response.
> Do you have an expected release date for version 1.3?
Sigh.
I will release the 1.2 this weekend. :)
We could turn around and start a 1.3 cycle - no real downside there - if its
really critical...
However, it's untested as code (for the most part, but its really
simple...), and more importantly, it's untested conceptually - i.e. Its in
there, but it would be nice to get some feedback.
>
> We will be ready to go into production in about a week. Would you say the
> current snapshot of 1.3 would be OK to use right now? Any major bugs?
> Implementing the cache dumping is a must so if it is not yet ready, we could
> modify version 1.2 to meet our needs until 1.3 is ready.
It's not hard, actually. It's in one place,
o.a.v.r.resource.loader.ResourceManager.
Right now, it's a map. Would be easy to change to something else and
rebuild w/o risk, I would think.
Also, FWIW, I think the 1.3 is pretty solid.
>
> Thank you,
> Tim
>
>
> On Tuesday 04 December 2001 06:47 pm, you wrote:
>> On 12/4/01 3:06 PM, "Tim Chamberlain" <tc...@sportingnews.com> wrote:
>>> Hello list,
>>>
>>> I need to find a way to dump all of the templates cached in velocity on
>>> demand. I know version 1.2 does not currently implement this, will this
>>> be possible in version 1.3, or does anyone know a way this can be done?
>>>
>>> Thanks again,
>>> Tim
>>
>> In 1.3, the template cache is pluggable, so you can implement one that is
>> dumpable...
>>
>> It hasn't been documented yet, as I was waiting for someone to play with it
>> and hopefully report back... Want to be that person? :)
>>
>> geir
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
--
Geir Magnusson Jr. geirm@optonline.net
System and Software Consulting
"Whoever would overthrow the liberty of a nation must begin by subduing the
freeness of speech." - Benjamin Franklin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Dumping The Template Cache
Posted by Tim Chamberlain <tc...@sportingnews.com>.
Hello again,
Thanks for the response.
Do you have an expected release date for version 1.3?
We will be ready to go into production in about a week. Would you say the
current snapshot of 1.3 would be OK to use right now? Any major bugs?
Implementing the cache dumping is a must so if it is not yet ready, we could
modify version 1.2 to meet our needs until 1.3 is ready.
Thank you,
Tim
On Tuesday 04 December 2001 06:47 pm, you wrote:
> On 12/4/01 3:06 PM, "Tim Chamberlain" <tc...@sportingnews.com> wrote:
> > Hello list,
> >
> > I need to find a way to dump all of the templates cached in velocity on
> > demand. I know version 1.2 does not currently implement this, will this
> > be possible in version 1.3, or does anyone know a way this can be done?
> >
> > Thanks again,
> > Tim
>
> In 1.3, the template cache is pluggable, so you can implement one that is
> dumpable...
>
> It hasn't been documented yet, as I was waiting for someone to play with it
> and hopefully report back... Want to be that person? :)
>
> geir
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Dumping The Template Cache
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 12/4/01 3:06 PM, "Tim Chamberlain" <tc...@sportingnews.com> wrote:
> Hello list,
>
> I need to find a way to dump all of the templates cached in velocity on
> demand. I know version 1.2 does not currently implement this, will this be
> possible in version 1.3, or does anyone know a way this can be done?
>
> Thanks again,
> Tim
>
In 1.3, the template cache is pluggable, so you can implement one that is
dumpable...
It hasn't been documented yet, as I was waiting for someone to play with it
and hopefully report back... Want to be that person? :)
geir
--
Geir Magnusson Jr. geirm@optonline.net
System and Software Consulting
"Whoever would overthrow the liberty of a nation must begin by subduing the
freeness of speech." - Benjamin Franklin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>