Simon Willison’s Weblog

cgi_buffer

cgi_buffer is voodoo magic for Perl, Python and PHP scripts that automatically handles a bunch of bandwidth saving HTTP tricks such as Content-Length headers (which enable persistent connections), ETags for caching and GZip content compression. Pretty neat.

This is cgi_buffer by Simon Willison, posted on 22nd November 2003.

Next: Status Notification

Previous: Contribute / ProFTPd problem solved

Previously hosted at http://simon.incutio.com/archive/2003/11/22/cgi_buffer