Saving bandwidth using mod_deflate

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 :-)

Related Reading:

Using DrupalUsing Drupal

With the recipes in this book, you can take full advantage of the vast collection of community-contributed modules that make the Drupal web framewo... Read More >

Drupal For DummiesDrupal For Dummies

Learn to set up, manage, and administer a Drupal Web site

Drupal offers unparalleled flexibility for content-managed Web sites, but most ... Read More >

Pro Drupal Development, Second EditionPro Drupal Development, Second Edition

Widely praised for its in–depth coverage of Drupal internals, bestselling Pro Drupal Development has been completely updated for Drupal 6 in thi... Read More >

Front End Drupal: Designing, Theming, ScriptingFront End Drupal: Designing, Theming, Scripting

“For Drupal to succeed, we need books like this.”

–Dries Buytaert, Drupal founder and project... Read More >

Cracking Drupal: A Drop in the BucketCracking Drupal: A Drop in the BucketThe first book to reveal the vulnerabilities and security issues that exist in the sites that have been built with Drupal?and how to prevent them from... Read More >

Thanks for reading, if you think this post help you please consider to buy me a beer

  • Share/Bookmark
Tips

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments are closed.