velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Zeigler <robe...@scazdl.org>
Subject Re: "template" caching when using evaluate?
Date Thu, 04 Aug 2005 21:51:49 GMT
Thanks.  Would a better alternative, then, to be to implement
some sort of custom resource loader?

Thanks again,

Robert

Will Glass-Husain wrote:
> No.  For frequent Velocity parsing, using evaluate can be a major
> performance hit.
> 
> Best,
> 
> WILL
> 
> ----- Original Message ----- From: "Robert Zeigler" <robertz@scazdl.org>
> To: "Velocity Users List" <velocity-user@jakarta.apache.org>
> Sent: Thursday, August 04, 2005 2:22 PM
> Subject: "template" caching when using evaluate?
> 
> 
>> Hello,
>>
>> I'm in the process of integrating velocity into an app.
>> The templates are pulled from a database, so I'm using
>> the "evaluate" method, providing the templateTag, etc.
>> (assuming caching is enabled), does velocity attempt to
>> cache the inString text?
>>
>> Thanks,
>>
>> Robert
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message