.htaccess Gzip Compression

Just add this to your .htaccess file. Gzip will drastically reduce HTTP response time.

Code Snippet:

# BEGIN GZIP
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
</ifmodule>
# END GZIP

Posted in Pure hacks