Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best java tool to cache and minify the dojo, jquery js and CSS

The dojo and jquery libraries are downloaded from google CDNS and used in our project. I am looking for a java tool which can cache and minify these tools. The cache should happen inside the ROOT project of tomcat.I know YUI compressor is great minifier but looking for a open source tool which can do both caching and minify.

like image 660
Soumyajit Swain Avatar asked Feb 02 '26 21:02

Soumyajit Swain


1 Answers

When it comes to minifying and compiling javascript and other web resources (like css) wro4j is probably the most flexible you will find. I'm not sure if it caches in the way you are talking about but it does have a servlet which can be used from tomcat.

https://code.google.com/p/wro4j/

like image 72
Matt McClellan Avatar answered Feb 05 '26 12:02

Matt McClellan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!