Very nice to see the methods other use to compress files. Good thing I have been a member on here for time else I would have been classed as a spammer.
@Dam1an: The file should be cached when sent to the clients machine, initially it will be a larger file on request but its also less requests which speeds up the website. Yahoo has some test results on their website about this.
@Dregond Rahl: GZip is good when using server side languages, but if just creating a plain html website this won’t work out well.
JavaScript and CSS can be GZiped, with or without PHP, they can also be used with plain HTML, on forums or anywhere. I personally used them before for forums on Proboards and such to load large scripts fast and cache them well. Free forums are manipulated completely by CSS and JS. if you can host files, and know alittle .htaccess it works out without PHP =]
Added to that if you use a JS packer it could mkae the files size even more smaller. iTs pretty useful.