GZipping Web Content for Fun and Performance

I’ve known about the benefits that gzipping the content on my sites would give me for quite some time (files are zipped up as they travel to your users, making them faster to download and leaving you with a smaller bandwidth bill), but I never got around to enabling it because, well, I’m lazy.

It’s really easy to set up things on your server to automatically gzip all sensible files though, and most of the code you need is very easily found in the Apache 2 documentation. All you have to do is copy and paste the following into your .htaccess file, and all your files (except images) will end up being gzipped for you. Awesome.

Continue reading “GZipping Web Content for Fun and Performance”

comments (2) | write a comment | permalink | 19 February 2008

The Definitive Guide to Apache mod_rewrite (A Book Review)

A couple of weeks ago, I was sent a review copy of “The Definitive Guide to Apache mod_rewrite” by the lovely people at Apress. The book promised to be the be-all and end-all guide to the mod_rewrite module, and overall…

Continue reading “The Definitive Guide to Apache mod_rewrite (A Book Review)” | 12 March 2006

mod_rewriting an entire site

A little while ago, I received an email from Brad Timinski, who asked: In your mod_rewrite article, you mention that you ‘use mod_rewrite to redirect all pages to one central PHP page’. How exactly do you do that? Well,…

Continue reading “mod_rewriting an entire site”

comments (21) | write a comment | permalink | 2 October 2005

MAMP - The Mac Apache, MySQL and PHP installation

For the past week and a bit, I’ve been staying in Alderney with my lovely girlfriend and her family. It’s a pretty little island, and I’ve enjoyed my time here, but unfortunately for me my girlfriend has had to…

Continue reading “MAMP - The Mac Apache, MySQL and PHP installation” | 6 August 2005

BBC Open Source

A couple of days ago, as reported by plasticbag.org, the BBC opened up a new Open Source section to its website. To be honest, there isn’t a lot up there that interests me right now, but the fact that…

Continue reading “BBC Open Source” | 16 July 2005

mod_rewrite, a beginner’s guide (with examples)

mod_rewrite is used for rewriting a URL at the server level. We show you how to redirect all your URLs at a single “mother” page, for reprocessing, and how to stop people from hotlinking to your images.

Continue reading “mod_rewrite, a beginner’s guide (with examples)”

comments (41) | write a comment | permalink | 23 May 2004

about wwm

workingwith.me.uk is a resource for web developers created by Neil Crosby, a web developer who lives and works in London, England. More about the site.

Neil Crosby now blogs at The Code Train and also runs NeilCrosby.com, The Ten Word Review and Everything is Rubbish.