Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2003-10-06, 01:18 PM   #1
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
Smile 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.
urb is offline   Reply With Quote
Old 2003-10-06, 03:01 PM   #2
Chop Smith
Eighteen 'til I Die
 
Chop Smith's Avatar
 
Join Date: Apr 2003
Location: Mississippi
Posts: 2,168
Send a message via ICQ to Chop Smith
I think this script will remove the white spaces for you. http://www.leafdigital.com/Software/HTMLShrink/
__________________
Chop Smith is offline   Reply With Quote
Old 2003-10-07, 01:27 AM   #3
chilihost
Look at 'em. Watchin' my TV. Sittin on my couch. You better not be in my ass groove!
 
chilihost's Avatar
 
Join Date: Aug 2003
Posts: 465
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
__________________
HunkMoney+BritishBucks+LatinoBucks=50+ gay sites!
chilihost is offline   Reply With Quote
Old 2003-10-07, 03:44 AM   #4
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,932
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...
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2003-10-07, 11:09 PM   #5
ShermsShack
Well you know boys, a nuclear reactor is a lot like women. You just have to read the manual and press the right button
 
Join Date: Aug 2003
Location: Las Vegas
Posts: 157
Send a message via ICQ to ShermsShack Send a message via AIM to ShermsShack
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.

__________________
CHECK OUT DUKE DOLLARS TODAY! - ICQ: 235857 - sherm [@] dukedollars.com
ShermsShack is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:07 AM.


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