all squished up

22 November 2002

i looked at gzip compressing webpages aeons back (that’s zipping pages up on the server and sending smaller files to the user who’s browser then unzips them with the user noticing no difference apart from faster downloads) and all i remember is that it seemed too complicated at the time. either i was completely wrong or the world has become much simpler. if you’re writing php pages stick this


at the top of your pages and watch your bandwidth tumble. you can check if your pages are already gzipped using’s checker. loquax’s bandwidth is now looking so 1999. joy. if our isp had ever actually charged us for excess bandwidth i’d have discovered this trick a long time ago.