7 Ways to Reduce Drupal Website BandWidth Use

Most of Drupal hosting service provider will limit the usage of bandwidth, especially for those cheap Drupal hosting service provider. The more you consume, the more you might be charged. In this tutorial we’ll talk about how to reduce bandwidth consumption.  A few suggestions to reduce consumption would be to compress files when sending from the actual server so that the overall size decreases & don’t send the same file over & over again these are a few starting points for reducing bandwidth consumption.  Below are 7 more ways to reduce bandwidth consumption:

  • If you are using Shared Linux hosting for your Drupal site , you can use the Boost Module http://drupal.org/project/boost.
  • Eliminate EXIF headers from your images. This will save you about 30% on your images.
  • Always use Cache-Control HTTP header, for images that doesn’t change, because we don’t want the user to download them every time when visiting the page.
  • Use CDN for your media files. CDN is content delivery network; you can Google in for details. Put your entire image, video and other large files there.
  • Use image presets to save bandwidth big time. Its like sending 10 mb image 3 times when you can send one that is 1MB.  On the server side In order to accomplish that use gzip compression for sending to all browers execpt IE.  Use mod expires to only ever send an image once.
  • You can save around 50% bandwidth if you can compress your code files HTML, CSS and JS.  For HTML, use HTMLCompressor : http://code.google.com/p/htmlcompressor/.For CSS, use CSS Minifier :http://www.cssminifier.com; For JS, us Minify Javascript Online : http://jscompress.com/
  • Check some of the related modules http://drupal.org/project/advagg – This is a great module to make you site load faster. It also allow you to leverage jquery.js in Google’s CDN. and support JS and CSS compression. This module could significantly improve the response time of your site. Check it out to see what amazing work it can do.

http://drupal.org/project/ie_css_optimizer for Drupal 6 solves the IE limitation of loading not more than 31 CSS files per HTML page This problem is fixed in Drupal 7 core.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.