I'm on rackspace's cloud sites service, so I can't modify my server environment. I'm also running Drupal 7. I've spent the last couple days looking for a way to minify JS in Drupal 7 and it is my conclusion that one does not exist yet. Am I wrong? Or do I need to wait for a D7 release of http://drupal.org/project/advagg?
2 Answers
You can use Minify module to do the same. Minify module minify the JavaScript using Google compiler. It also works with "Aggregate JavaScript files" so you can also get advantage of combining multiple JavaScript files which is default option in Drupal 7.
Minify module also minify HTML.
List of modules in D7 that might provide similar functionality.
http://drupal.org/project/core_library
http://drupal.org/project/agrcache
It is what reported in the project page for Advanced CSS/JS Aggregation, which is where your link takes to.
-
Core Library 1.x looks like it will do it, but it only serves static JS files. I've also had some minor problems with it in the past. Any other suggestions? Jul 31, 2011 at 17:32