Posts Tagged ‘mod_deflate’

Saving bandwidth using mod_deflate

Friday, August 22, 2008 22:05 No Comments

Deploy right technology will help you saving bandwidth and hosting fee for additional bandwidth
One solution from apache module is :
mod_deflate
example of vhost directive in practice :
<VirtualHost *:80>
ServerName blog.hostingformula.info
DocumentRoot /var/www/blog
<Directory /var/www/blog>
AddOutputFilterByType DEFLATE text/html text/css text/xml text/plain text/javascript application/x-javascript application/xml application/xhtml+xml application/postscript
</Directory>
</VirtualHost>
yes, all type of files listed in DEFLATE lines will get compressed

    

[...]

This was posted under category: Tips Tags: