Is there a tool which can combine multiple javascript files into one and then compress them?
Yahoo - YUI Compressor
Google - Closure Comipler (+ Online Service)
JSMin - the JavaScript minifier
Packer
Combining JSMin and Packer into a command line tool - SmallSharpTools Packer
For PHP, try Minify: http://code.google.com/p/minify/
From the docs:
Minify is a PHP5 app that helps you follow several of Yahoo!'s Rules for High Performance Web Sites.
It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments, and serves them with gzip encoding and optimal client-side cache headers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With