The 2.4 version of Jawr
Minification can be performed by a choice of first class minifiers (currently JSMin
and the YUI compressor
), and occurs at server startup, so there is zero overhead to requests.
Users of YSlow
should notice a very nice improvement in their grading when using Jawr, meaning that their application will load faster and be more responsive to user interaction.
Version 2.4 adds a long time missed feature: the ability to use Jawr in static HTML pages. Until now, a tag library was required to generate the links to Jawr managed resources. Now, by using a small module loader script, both dynamic and static pages can benefit from the features of Jawr.
This includes the ability to switch from development mode (in which resources are imported uncompressed and separately) to production mode by changing a flag in the descriptor properties file.
Aside of static HTML, Jawr also supports alternative view technologies other than JSP: currently it can also be used with Facelets and Grails applications.
All these features are thoroughly documented at Jawr's homepage