[ 
https://issues.apache.org/jira/browse/VELTOOLS-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nathan Bubna resolved VELTOOLS-106.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.x)
                   2.0

So, i realized today that we could provide some simple, default setting caching 
for VelocityViewTag bodyContent, because the default static repo settings for 
StringResourceLoader are essentially the same on the surface in both Engine 1.5 
and Engine 1.6.

So, yeah, as of revision 709355, the VelocityViewTag now caches tag bodies by 
default, rather than re-parsing them for every render.

I have no idea why it didn't occur to me to do this before.  I was probably 
just imagining the impossibility of supporting all the possibilities of 1.6's  
StringResourceLoader while only requiring 1.5 for Tools 2.0.  Sorry 'bout that.

> VelocityViewTag needs caching using the not yet released StringResourceLoader
> -----------------------------------------------------------------------------
>
>                 Key: VELTOOLS-106
>                 URL: https://issues.apache.org/jira/browse/VELTOOLS-106
>             Project: Velocity Tools
>          Issue Type: Wish
>          Components: VelocityView
>    Affects Versions: 2.0
>         Environment: resin3.0 jdk1.5
>            Reporter: bluejoe
>             Fix For: 2.0
>
>
> Dear developers,
> Sorry to bother you!
> I am a user of VelocityTools from China, and I want to rewrite some JSP pages 
> in Velocity template language. I have no idea whether to use 
> VelocityViewServlet or VelocityViewTag, then I choosed VelocityViewTag, 
> considering some JSP features, such as taglib or fragment, may be used.
> I use resin as J2EE container, when I use VelocityViewTag in the page, I 
> found the page displayed so slowly in web browser. Maybe the compilation of 
> Velocity template requires much time, I think. So,  can you give me some 
> advice on how to improve the speed? 
> Thank you very much and expect your early reply! 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to