I've never really regarded this as a TIP, but looking at the page sources of sites that I find around the net... especially larger sites, I realise how much some people must be paying, un-necesserily, for bandwidth.
The tip is simple - remove all the whitespace from your HTML code. For example, if you use an editor such as Dreamweaver, it inserts a lot of white space to create "structured code". You may not see anything in this white space - but the computer does.
Open the HTML file in Word Pad. Go to the "replace" option, and in the find what field, put two spaces. Yes, hit your space bar twice.
In the "replace with" field, put nothing. Leave it blank.
Then hit "replace all". Walla! All white space gone. Check the file size - depending on the original size, the orginal size can be reduced from 1k to 50k. And yes, when have a HTML page that is 200k like Easy Pic, removing all the white space does make a difference. Especially when it is being visited 500,000 times daily.
The tip is simple - remove all the whitespace from your HTML code. For example, if you use an editor such as Dreamweaver, it inserts a lot of white space to create "structured code". You may not see anything in this white space - but the computer does.
Open the HTML file in Word Pad. Go to the "replace" option, and in the find what field, put two spaces. Yes, hit your space bar twice.
In the "replace with" field, put nothing. Leave it blank.
Then hit "replace all". Walla! All white space gone. Check the file size - depending on the original size, the orginal size can be reduced from 1k to 50k. And yes, when have a HTML page that is 200k like Easy Pic, removing all the white space does make a difference. Especially when it is being visited 500,000 times daily.


Comment