http://qs321.pair.com?node_id=309182

cgi_buffer is a set of libraries for perl, python, and php that automatically handle various performance improving HTTP features like persistent connections, Etag generation, and gzip compression. the only change it requires to your script is the addition of a single include line.

it looks like it could benefit from an actual install script. otherwise, it looks pretty slick and is a very cool idea.