News for hackers. Stuff that matters.
Re:7 Free Tools to Minify your Scripts and CSS by buro9 on Saturday May 29, 2010 @08:01AM (#1388650)
And they've missed the Google Closure Optimizer for JavaScript: http://code.google.com/closure/
Re:7 Free Tools to Minify your Scripts and CSS by pmjordan on Saturday May 29, 2010 @08:11AM (#1388656)
I'm not sure why YUI Compressor is last on that list, and why it's not mentioned that it also minifies CSS.
Re:7 Free Tools to Minify your Scripts and CSS by ojbyrne on Saturday May 29, 2010 @02:12PM (#1389039)
Last could be a position of honor. And he mentions that it produces higher compression ratios.
Re:7 Free Tools to Minify your Scripts and CSS by mike-cardwell on Saturday May 29, 2010 @02:30PM (#1389067)
I wrote a couple of articles a while ago about minifying css/javascript on the fly. They utilise a mod_perl handler which intercepts outgoing css/js and compresses them on the way out.

https://secure.grepular.com/Compressing_CSS_on_the_Fly

https://secure.grepular.com/Compressing_JavaScript_on_the_Fl...

Re:7 Free Tools to Minify your Scripts and CSS by ErrantX on Saturday May 29, 2010 @08:04AM (#1388652)
If anyone uses Kohana I maintain a packaged which wraps the PHP cssmin and jsmin libraries (plus some Kohana juice for serving files/caching)

http://hg.errant.me.uk/minify

There is also a port (or rewrite) for Kohana V3 that someone else maintains http://github.com/zazu/minify

Re:7 Free Tools to Minify your Scripts and CSS by zalew on Saturday May 29, 2010 @07:58AM (#1388648)
For the Django dudes in here:

http://github.com/miracle2k/django-assets with which you can use your compressor of choice

http://elsdoerfer.name/docs/django-assets/

Re:7 Free Tools to Minify your Scripts and CSS by statenjason on Saturday May 29, 2010 @10:27AM (#1388760)
Two months ago I hooked up jsmin from a build script for release configurations. It's been helpful to have all of the reader-friendly stuff stripped out automatically without having to store minified copies in source control.
Re:7 Free Tools to Minify your Scripts and CSS by ojbyrne on Saturday May 29, 2010 @02:13PM (#1389044)
That's obviously a best practice. Minified code is essentially object code.
Re:7 Free Tools to Minify your Scripts and CSS by frankosaurus on Saturday May 29, 2010 @08:29PM (#1389564)
For .NET websites, Combres does minifying, compression, and combining of scripts: http://combres.codeplex.com/
Re:7 Free Tools to Minify your Scripts and CSS by bigstorm on Saturday May 29, 2010 @08:00AM (#1388649)
For Dojo as mentioned on the post comment

http://dojotoolkit.org/docs/shrinksafe