Greetings, Drupalers,
I'd like to touch on a subject I'm sure all of us have dealt with. As our Drupal sites continue to grow and feature lists get longer, we find ourselves with quite a bit of CSS and JS files loading. Has anyone come up with a way to sort of aggregate CSS and JS into a couple files instead of loading several different ones?
Obviously we can do all this by hand, but it becomes cumbersome when it comes time to upgrade a module here and there.
I've found a nifty compressor that I've been experimenting with called jsmart:
http://farhadi.ir/jsmart.html
What this does is it uses a .htaccess rule to divert all CSS and JS requests to a local cache of CSS files that have been compressed and JS files that have been gzipped. This is all done automatically via htaccess.
A module that aggregate all CSS references, and perhaps JS, and running along side with this jsmart app would make for a rather quick site, yes?
What do you think?
Comments
..
There's some work on related stuff here: http://drupal.org/node/98819
In my experience the issue queue is where fixes happen - forums are more for support and announcements. Making suggestions in forums is unlikely to result in any change to the code.
As they say "talk is silver, code is gold" :)
--
Knaddison Family | mmm Beta Burritos
--
Morris Animal Foundation