Compressing your website output
This is more in the line of short pieces about adapting from Apache to Lighttpd style configurations. Mod_deflate is not available of course but with our lighttpd.conf and php.ini, we can compress both our static and dynamic content.
php.ini
zlib.compression = On
zlib.output_handler = On
lighttpd.conf
server.modules += ("mod_compress")
compress.cache-dir = "~/var/cache/www.foo.com/"
compress.filetype = ("text/plain","text/html","text/javascript","text/xml","text/css")