title: Compiling .xsl files into .class files
body: <p>I'm currently working on a Java web project (Spring) which involves heavy use of xsl transformations. The stylesheets seldom change, so they are currently cached. I was thinking of improving performance by compiling the xsl-s into class files so they wouldn't have to be interpreted on each request.</p>
  
  <p>I'm new to Java, so I don't really know the ecosystem that well. What's the best way of doing this (libraries, methods etc.)?</p>
  
  <p>Thanks,<br>
  Alex</p>