| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
person
Join Date: Apr 2005
Location: Canada
Posts: 147
|
HTML Optimization
I've never used html optimization before and I'm wondering if anyone does regularly (to the extent of getting rid of most of the whitespace). Is it worth smaller loading times for unreadable, ugly html code? help me out here. |
|
|
|
|
|
#4 (permalink) | |
|
Semantics, yay.
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,151
|
Quote:
Last edited by gray : 05-07-2007 at 13:08. |
|
|
|
|
#6 (permalink) | |
|
Senior Member
Join Date: Oct 2006
Posts: 2,338
|
Quote:
I wouldn't bother with it, because you would have to keep 2 versions - the readable source files and the unreadable "optimized" files. Sure it will save a few bytes, but it isn't really worth it unless you are google. |
|
|
|
|
#8 (permalink) |
|
Registered User
Join Date: Dec 2004
Posts: 63
|
Just to further confuse issues, You could use gzip compression to reduce filesize without having to remove the whitespace/formatting from your html. There is more information about HTTP compression here with information about browser suport for it (almost all of them) here. The Yahoo user interface team has also been doing a lot of research in this area; YUI: Weighing in on Pageweights » Yahoo! User Interface Blog “High Performance Web Sites” at the @media 2007 Conference in London - Nate Koechley’s Blog Hope this helps. |
|
![]() |