javascript - How does Google hide HTML source of search results? -


when try view source code of google search results page see bunch of javascript code instead of readable text. how google that?

i have searched through web couldn't find explanation, thing found this: http://goo.gl/fivd6 , not helpful.

i not web developer got curious. brief explanation nice. thanks.

google builds dom javascript noted. number of reasons:

  • decrease load on server generate each dynamic result set html markup.
  • google returns results in json feed (example) - pastebin. less processing power required produce json response full html snippet or new page
  • speed. assuming user has decent internet connection, speed of pages rendering on client side compared server side negligible.

as suggested above, jump firebug , have around :)


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -