AndyJarrett

Speed up Apche2 with mod_deflate

Before there was mod_gzip but now in Apache 2 there is mod_deflate. Its pretty much the same, and included with the default source package now. The syntax is pretty much the same. You can set it across the board or on a MIME type basis.Check out the Apache docs for a proper understanding. Currently I am still testing my setup and on my Ubuntu installation I edited the following configuration to add some MIME Type rules $ sudo nano etc/apache2/mods-enabled/deflate.confThe following rules I am using areAddOutputFilterByType DEFLATE text/plainAddOutputFilterByType DEFLATE text/xmlAddOutputFilterByType DEFLATE application/xhtml+xmlAddOutputFilterByType DEFLATE text/cssAddOutputFilterByType DEFLATE application/xmlAddOutputFilterByType DEFLATE application/rss+xmlAddOutputFilterByType DEFLATE application/atom_xmlAddOutputFilterByType DEFLATE application/x-javascriptAddOutputFilterByType DEFLATE text/htmlDo read the docs though, as not all browsers can handle this but there are ways to get around that.