View Single Post
Old 04-17-2004, 05:17 PM  
ldinternet
Confirmed User
 
Join Date: Apr 2001
Posts: 8,245
ldinternet's NEWBIE tip of the day. Improve speed and reduce transfer costs.

For the newbs only...

Remove unnecessary whitespace in your html. The number of webmasters that DON'T do this is just amazing. Be smart, use your head..... just because you can't see anything, it doesn't mean that blank space isn't contributing to file size. You can reduce a 100KB page to 50-60KB easily, just by removing whitespace. It improves speed and reduces bandwidth usage, thus lowering costs. Remember that serving out a 100KB page 1 million times costs twice as much as serving out a 50KB page 1 million times.

To do this, open your html d o c u m e n t in notepad or wordpad, and replace "  " (two spaces) with "" (nothing). That will remove all the unnecessary space from your html and leave you with cleaner code, smaller file size and a faster loading page.
ldinternet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote