When you get a good number of visitors on your website, you can end up with a rather large Internet bandwidth bill from your web hosting company. This is usually a good problem to have as it means your website is generating traffic. However, there are some steps you can take to try to optimize your website so that it consumes less bandwidth per user. There are a number of ways to do this. Let's look at one such solution for Apache. We'll learn how to setup and use the Apache module mod_deflate in FreeBSD
This module adds an output filter that allows output from your server to be compressed. A great side effect of the implementation of this module is that it also speeds up your website.
Mod Deflate comes built into Apache, but is not enabled by default. This tutorial will explain the simplest way of enabling it and setting which mime times to compress.
Note : Mod Deflate will increase your server load, but decreases the amount of time that clients are connected and can usually reduce the page size by 60 to 80 percent.
No comments:
Post a Comment