Tag Archives: gzip

Automatic gzip compression for Apache2 Webservers

after failing and failing again in the last months, I finally got it with the help of http://www.debian-administration.org/articles/137 The .htaccess configuration AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascriptAddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript requires Apache’s mod_deflate enabled via $ a2enmod deflate Module deflate installed; run /etc/init.d/apache2 force-reload to enable.$ a2enmod deflate Module deflate installed; […]

NSURLConnection gzip magic

For quite some time I ranted about not being able to use compressed network communcation out-of-the-box on the iPhone. Despite being undocumented (or I just overlooked the hint), NSURLConnection does gzip decompression transparently! That’s how to use it: