Apache optimization by compressing pages

ript>

After reading a very interesting article from “Coding Horror” blog (Reducing Your Website’s Bandwidth Usage), I activated Apache’s page compression with the following simple procedure:


$ sudo bash
# cd /etc/apache2/mods-enabled/
# ln -s /etc/apache2/mods-available/deflate.load .
# vim /etc/apache2/apache2.conf [add the following line]
AddOutputFilterByType DEFLATE text/html text/plain text/xml
# /etc/init.d/apache2 restart
# exit
$

Visit The Light of the LAMP blog for more…