Monday, May 14, 2007

html source and bandwidth usage

1 character equals 1 byte.  Extra newline in html source means one extra byte sent to client.
If a website gets some 400 pageviews per day, you send 400x30 (sligtly more than 1 Kb) extra bytes per month.
This means 1 character may mean 1 Kb of bandwidth usage per month for a website of low traffic. More the traffic more the size associated per character.

Therefore, to save the bandwidth and to improve loading speed of your pages, optimize your templates and html !

2 comments:

Anonymous said...

I never considered this fact. Thanks Ketan for optimization tip. -- Shrinivas

Unknown said...

Wow, that's sounds great analysis!

Anil Y.