How google page loads that fast? One step at a time
I like Google as they often break rules like me. They don’t follow any html validations just to make the pages really fast. They don’t put anything that is not needed on the code. They do a lot of things to make the pages faster, one small thing that they do is avoid everything from the code that is not needed.
What all is not needed on the page?
- Extra spaces: Avoid it as much as possible. Go to http://www.google.com and open the source in notepage (View > Source code), now disable word wrap (In notepad format > Word wrap, in other editors view > word wrap, disable it) … You will see how Google’s code doesn’t have any space, line breaks in between the codes. Generally people put spaces to make it more presentable and manageable. But at larger companies we had our systems that use to clean up the code and remove all unwanted line breaks and spaces to compress the page a little bit more.
- Unwanted quotes: If you look at Google’s source code, you will hardly see width=”102″, you will only see width=100 (saving two quotes), there are places where quotes are obvious and browsers can read it.
As I said, it is all about one step at time. Please follow it carefully from manageability point and compatibility point. Generally a validation http://validator.w3.org/ will make it safer.
You too can clean up the code at http://www.SEOforClients.com/tools/cleanup.html, more tools at http://www.SEOforClients.com/tools/.
1 Comment to How google page loads that fast? One step at a time
Leave a Reply
Wow – 40 Errors, 2 warning(s)

I never imagined Google itself does not worry about html validation errors.
Thanks for the pointer, Sir.