News for hackers. Stuff that matters.
Re:Google Page Speed Online by pankratiev on Thursday March 31, 2011 @04:54PM (#2393657)
This suggestion from Google especially looks fun:

The following publicly cacheable, compressible resources should have a "Vary: Accept-Encoding" header:

    * http://www.google.com/buzz/api/button.js
However, it's a useful tool. It gives me useful suggestions for improving.

Anybody knows a simple tool to minify javascript?

Re:Google Page Speed Online by danthompson on Thursday March 31, 2011 @05:35PM (#2393816)
I often use the Closure Compiler at http://closure-compiler.appspot.com/ (online) and http://code.google.com/closure/compiler/ (offline)
Re:Google Page Speed Online by pankratiev on Thursday March 31, 2011 @06:45PM (#2394078)
Many thanks! I've just found a simple tutorial of how to use it in Python script: http://code.google.com/closure/compiler/docs/api-tutorial1.h...

So, I've written my own script, which minified seven js-files with total size 84.8 KB to one file with size 26.7 KB. Plus gzip and it will be very small.

Thanks again.

Re:Google Page Speed Online by tylerritchie on Thursday March 31, 2011 @07:20PM (#2394200)
There is also UglifyJS https://github.com/mishoo/UglifyJS which is build on Node.
Re:Google Page Speed Online by paulirish on Thursday March 31, 2011 @11:42PM (#2394834)
Here's an ugly GUI for Uglify: http://alexsexton.com/uglifui/
Re:Google Page Speed Online by bmelton on Thursday March 31, 2011 @10:56PM (#2394749)
I think I've been using the Google PageSpeed Plugin (Firefox only though) to minify JS, CSS and shrink PNGs.
Re:Google Page Speed Online by itsme on Thursday March 31, 2011 @05:28PM (#2393793)