HTML code is well formatted against single line code

I see more and more pages (e.g. translate.google) where the html code is formatted on one line? Is this done to reduce load times? Is this the current state?

thank

+5
source share
3 answers

Short answer: Yes: it reduces the download size.

Even if this does not have a big impact on the download speed for an individual user, if the site serves pages for a large number of users, the cumulative effect is a significant reduction in the amount of traffic that their server must send.

HTML-, , , , , .

, Javascript CSS .

, HTML. , , , DOM - HTML- ( , DOM , , , )

, Firefox Firebug Developer Tools IE8, Chrome Safari.

, .

+3

HTML . /, .

HTML , / HTML, . .

+6

Just add (you already have answers to great answers):

If you want to be modern in the field of web productivity, this is a fantastic resource.

Yahoo Best Practices to Speed ​​Up Your Website

Good luck

+2
source

All Articles