handlebars.java
handlebars.java copied to clipboard
Template serialization
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 ?
There is one already: https://github.com/jknack/handlebars.java/tree/master/handlebars-maven-plugin
I do not understand, do you mean the feature already exists ? @jknack or the issue already exist. I think its an important feature. :)