Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   Save yourself some bandwidth (http://www.greenguysboard.com/board/showthread.php?t=1329)

urb 2003-10-06 01:18 PM

Save yourself some bandwidth
 
Apart from compressing images on your sites, here is another simple way to cut back on bandwidth.

Spaces and indentation add unnecessary weight to a page and if you remove the pretty indents and wide open spaces from your html code you can save yourself a couple of kilobytes. A good example of this is to get the source code for bbc.co.uk and save it to your local drive. When I did it I got a 37k file. I then edited out some of the white space and indents from the code and saved the page again which gave me a 36k file.

If you are not too worried about ease of editing then you could go a stage further and place a lot of the page on one or two lines. Check out the source code for www.google.com/ and see how they've done it.

You might think that 1 Kilobyte is nothing to worry about, but if you look at it over time.....


1 Kilobyte = 0.0009765625 Megabyte

0.0009765625 Megabyte times by 3000 visitors = 2.9296875 Megabytes

2.9296875 Megabytes times 30 days = 87.890625 Megabytes.

Food for thought. :)

Chop Smith 2003-10-06 03:01 PM

I think this script will remove the white spaces for you. http://www.leafdigital.com/Software/HTMLShrink/

chilihost 2003-10-07 01:27 AM

you can save a wee bit of bandwidth by removing all your alt tags for images.

also, you can save heaps of bandwidth by sticking anti-hotlinking into your htaccess file.


Cheers,

Luke

Fonz 2003-10-07 03:44 AM

Quote:

Originally posted by chilihost
you can save a wee bit of bandwidth by removing all your alt tags for images.
I keep hearing ALT tags are a great fot SE listenings...

ShermsShack 2003-10-07 11:09 PM

Quote:

Originally posted by chilihost
you can save a wee bit of bandwidth by removing all your alt tags for images.

They can be helpful to SE's, but I've been finding out lately that the SE's pick up what they need to pick up, just from your page's content minus the tags. I've completely stopped using them on my galleries and they seem to be getting MORE traffic to them than in previous days. I guess certain things work for certain people. Stick to what works for you.

|bananna|


All times are GMT -4. The time now is 03:13 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc