do we need to Cache expression compile target? #265
-
Hi JSLT Team, for the title, do we need to Cache expression compile target? actually, my project's jstl script is configed statically not dynamic, and some script is long, if cache this compile target maybe useful? some project have Cache compilation, such as mybatis will save sql tree nodes in memory, is jstl also support? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I'm not sure I understand the question, but if you want to avoid compiling the |
Beta Was this translation helpful? Give feedback.
I'm not sure I understand the question, but if you want to avoid compiling the
template
over and over again, you can simply store theExpression
object and reuse it. Then you parse once, and use the JSLT expression many times.