One of the most promising D7 module http://drupal.org/project/advagg for minification and aggregation of CSS and JS isn't ready for production sites yet.

In such a situation which is the best option?

I also checked http://drupal.org/project/core_library but it sounds overkill.

What other good options we have inside or outside drupal?

  • The author of advagg is a regular here. Hopefully he will see this. – mpdonadio Jan 19 '13 at 4:30
  • Have you tried the anwers given here drupal.stackexchange.com/questions/484/… – subhojit777 Jan 19 '13 at 4:37
  • One is advanced aggregation which I mentioned above that it's not production ready yet.Javascript aggregator is for D6 not D7. – ganesh Jan 19 '13 at 6:02
  • 1
    Modules are the way to do non-core tasks in Drupal. Why do you want to hack around the way system is designed to use? – Mołot Nov 22 '13 at 21:15
  • Outside of Drupal you would need some sort of build tool like Gulp if I am understanding the question right, but as @Mołot noted, that is what the modules are for. – jasonflaherty Feb 21 '19 at 14:45

This is actually a module, but the Speedy module minifies core JS, has a stable release, and is regularly updated.


When you select "Aggregate and compress CSS files" check box from "Performance" it will minify the CSS.

Minify is a module, for Javascript you can use Minify module to do the same. Minify module minify the JavaScript using Google compiler. It also works with "Boost" and "Aggregate JavaScript files" so you can also get advantage of combining multiple JavaScript files which is default option in Drupal 7.

Minify not only minify the Core JS, but also minify the custom JS.

Minify module also minify HTML.

For ref: How to minify Javascript in D7

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.