Skip to content

do we need to Cache expression compile target? #265

Answered by larsga
ChengHoHang asked this question in Q&A
Discussion options

You must be logged in to vote

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 the Expression object and reuse it. Then you parse once, and use the JSLT expression many times.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ChengHoHang
Comment options

@larsga
Comment options

Answer selected by ChengHoHang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
support Users asking how to solve a specific issue
2 participants