Reducing Your Website's Bandwidth Usage

Here is another tip/hack that I thought of after reading this article:

1.) For your images, host multiple pictures and use a banner rotation so one image can be grabbed from different image sharing sites, not just one.

2.) Take one large image and split/cut it into multiple pieces and then recombine those pieces so as if they appear as one image :wink:

One thing you can do with bad RSS readers, assuming they set correct UserAgent header, is to redirect them to a bandwidth capped server.

I have a server that on IP x serves pages as fast as possible, but on IP y it servers them at speed of 4KB/s, enough to keep clients downloading the material, but slow enough to keep them hogging all the bandwidth.

Actually I have a set of IPs on that server and each IP serves data at different rate, going from full speed to half, quarter, 1/8th and then to that 4KB/s. This way I can prioritize and manage how the hosted sites use up my limited upload capacity.

I’ve had success with S3 – it’s very easy to setup, especially with the S3 firefox plugin (https://addons.mozilla.org/firefox/3247/).

Also, I threw together some quick numbers here in case anyone wants to compute their bandwidth costs: http://tinyurl.com/yr6rl6

One last comment on compression – apparently this behavior is buggy in some older browsers, so be careful (http://www.thinkvitamin.com/features/webapps/serving-javascript-fast).

Great article.

If you only had a nickel for each time someone reads your blog. . . .

Nice article. I especially liked the ideas around hosting images and impact of that external to your site.

Also worth mentioning is http headers on certain resources on your site to tell the browsers to not hit your static content so hard.

Check my post at

http://jacdev.blogspot.com/2006/12/tips-for-aspnet-website-performance.html

How can I futher reduce the size of 304 / 404 etc, as 404 response is not compressed by IIS ?

If it’s that important to you to reduce the size of a 404 page why don’t you replace the error page with “404 not found”.

Thanks for this, I have been looking at reducing my bandwidth for some time and did not think of some of these ideas. Not serving images AT ALL is a totally new concept to me, brilliant!

Great insight here! I didn’t know you could TOTALLY outsource your images. I thought you could only post certain images up at places like Flickr, and have a link from your site to Flickr. Shows you how amateur I actually am! Outsourcing your images completely, fantastic idea! It makes perfect sense! And if I was getting hits like you… there’s no doubt I’d be doing that as you are.
Thanks for the excellent idea, will definitely be looking more into it.

Great article! Thanks for the tips. I didn’t know about the HTTP compression until now…

Hi guys im in need of some help just read the artical and some of the post. id like to implment some changes to my site to save bandwidth. Also tips on how to make my pages load quicker. Ive no idea how to start. My site is getting arround 500 unique hits per day and expect to rise to 1000 at least by this time next month. im roughly using about 5gb bandwidth a day and have 3600Gb a month to play with but has might sites growing with popularity i need these changes.

What is this HTTP compression how do i turn it on and what are the bad points for doing this?

Where is the best place to put my images if not on my hosting server? i want it to be cheap as possible but fast and reliable
Ive also got 2 virgin media accounts which as space 50GB i think. currently i dont use these but are these a good place to store my pictures?

why not automatically redirect only everyone came from slashdot/digg/fark/etc…

http://wiki.dennyhalim.com/htaccess

so, that would automatically ‘protect’ your web from any dugg even before you know it.

thats nothing I got 30GB in 5 HOURS! My server overloaded by those blasted Asians upload their porn

I’d like to plug a CSS minifier I came across recently that gets quite good compression. It seems to take a different approach than just removing whitespace,etc. Anyway, you can read about it

http://www.artofscaling.com/css-minifier/

only downside is that it isn’t an online minimizer, need to run a jar

Outsourcing can be a very complex and complicated. Every facet of the exercise must be carefully considered and properly executed. There is very little margin of error, if the full screen for the value.

However, this does not need to trauma, yet another adventure of blind research. The potential benefits are well documented, and the outsourcing strategy is now sufficiently mature to the path to innumerable times zertreten were before.

But how do you ensure that the lessons of others (sometimes the hard Tour), for a good cause? How do you ensure that you do not have to reinvent the wheel again? How, you are exercising in any case most effectively and efficiently as possible?

I have a question - Where do All these companies that sell “bandwidth” buy theirs from? If I want to skip the middle man, what do I do?

Great blog, great post, my blog are dofollow too.

Hey,

Great article, just wondering. Would it be possible to use a sort of PHP script on each page to balance the load of the images, splitting it between different servers?

For example, it could monitor how much bandwidth an image is using and switch to another service before it became to much?

I dunno how ImageShack or other image hosting services would feel about me uploading images multiple times, and linking to them after each other.

why would you pay for an image host when www.sexyimagehost.com is a free anything goes image host

http://www.sexyimagehost.com