Live data from Hacker News

7 Free Tools to Minify your Scripts and CSS

devcurry.com

1–10 of 11 posts

Re: 7 Free Tools to Minify your Scripts and CSS

#5
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

#9

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.

That's obviously a best practice. Minified code is essentially object code.

Re: 7 Free Tools to Minify your Scripts and CSS

#10
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...

Post reply on HN