handlebars.java icon indicating copy to clipboard operation
handlebars.java copied to clipboard

Template serialization

Open przemos opened this issue 6 years ago • 2 comments

I think it is possible to make compiled Template representation serializable so that compilation results can be dumped into a file ahead of time and then specialized Cached resolver could look them up by name. That would save a lot of time. Can you tell any major problems that might happen on the way of making the compiled structure serializable ?

przemos avatar May 22 '18 20:05 przemos

There is one already: https://github.com/jknack/handlebars.java/tree/master/handlebars-maven-plugin

jknack avatar May 24 '18 18:05 jknack

I do not understand, do you mean the feature already exists ? @jknack or the issue already exist. I think its an important feature. :)

priyanshus1 avatar Feb 09 '22 11:02 priyanshus1