Skip to content

Instantly share code, notes, and snippets.

@xshyamx
Last active August 29, 2015 14:16
Show Gist options
  • Save xshyamx/6dd7e2f0a4ff02976517 to your computer and use it in GitHub Desktop.
Save xshyamx/6dd7e2f0a4ff02976517 to your computer and use it in GitHub Desktop.
Web Resource Optimization Tools Roundup

Web Resource Optimization Tools

Comparison of 3 web resource optimization tools available for Java/JEE development.

Feature wro4j jawr dandelion
Tool Support
- Command line wro4j-runner
- Maven Plugin Yes Yes Yes
- Ant Yes
Optimization
- Build Time Yes No No
- Runtime (Servlet/Filter) Yes Yes Yes
-- Servlet version >2.5
Taglib Support
- JSP wro4j-taglib Yes Yes
- Thymeleaf Yes Yes
- Wicket Yes
- Grails Yes
- JSF Yes
JS Minification
- YUI Yes Yes Yes
- Uglify Yes Yes
- Google Closure Yes Yes
CSS Minification
- YUI Yes Yes Yes
- URL Rewriting Yes
- Less/Sass Yes
JS Template Support Yes
JS Transpilation Yes
Configuration
- XML Yes
- JSON Yes
- Properties Yes
- Other Groovy
Extension Support Yes
Dependency Management Yes
Webjars support Yes Yes
Requires filesystem access (cannot be used in restricted environments like GAE) Yes In-memory cache
Modularity Very Modular

Web Resource Optimization Tools

Comparison of 3 web resource optimization tools available for Java/JEE development.

  • Maven support
  • Taglib support (not built-in but community developed wro4j-taglib available)
  • XML/Groovy configuration
  • Uglify javascript compression supported
  • Command line processor available
  • Build + Runtime
  • Maven support
  • Taglib support for JSP, Wicket, Grails SpringMVC, Struts, JSF
  • Image sprite generation
  • Requires filesystem access to persist bundles
  • Properties file based configuration
  • Uglify javascript compression supported
  • Runtime only
  • Maven support
  • Taglib support for JSP, Thymeleaf
  • Webjars support
  • Very Modular
  • JSON + Properties file based configuration
  • Runtime only
  • In-memory cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment