Hacker News new | ask | show | jobs
by nickb 6586 days ago
1) Minify your JS: http://www.crockford.com/javascript/jsmin.html

2) Combine it into one file: http://www.thinkvitamin.com/features/webapps/serving-javascr...

3) Gzip before delivering to clients

or...

use just Google JS API: http://ajaxian.com/archives/announcing-ajax-libraries-api-sp...

1 comments

... and don't use one of the packing (NB: packing, not minifying) approaches unless you measure and understand the performance impact on clients first. Large packed JS can take hundreds of ms to unpack on slow clients.