Hi Zsolt,

The FreeMarker template however benefit from caching. It should be possible
to do something similar with Velocity, but from design reasons, it is much
harder to integrate with. 

If you want to investigate this or enter an RFE, that would be welcome.

Best regards,
Jérôme Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : Thierry Boileau [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 11 septembre 2008 11:56
À : [email protected]
Objet : Re: velocity representation

Mail sent on the 08/25 and apparently lost.
---

Hi Zsolt,

there is a sample resource in the following class:
org.restlet.example.book.restlet.ch10.VelocityResource.

As far as I can see in the code, I don't think it caches the template.

best regards,
Thierry Boileau

> Hello
>
> I have a question on the usage of the Velocity extension. Does it do
> any template caching, or it reads the velocity - let's say - file and
> creates a template object on every request?
>
> How you use it, folks?
>
>
> Thanks
>
> Zsolt
>
>   

Reply via email to