Live data from Hacker News

Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates

engineering.linkedin.com

41–43 of 43 posts

Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates

#41
post #36
post #17

Earlier quoted context omitted.

Not only caching, but right now I suspect this approach could have _serious_ SEO implications. It seems to run directly against the guidelines against cloaking here: http://support.google.com/webmasters/bin/answer.py?hl=en&#38... (Not that I suppose LinkedIn are too worried about search engine discoverability of a lot of their "dynamic, login required" content, but I'll bet they're _not_ using this technique on all t…

It wouldn't have SEO implications because using javascript to load content isn't considered cloaking. (Cloaking is where you present something different to googlebot vs. a live user). It's well known that googlebot does run javascript now: https://twitter.com/#!/mattcutts/status/131425949597179904 There's also some speculation that googlebot actually runs Chrome and can render anything that Chrome does: http://ipullr…

Yep. I've seen that (and I've seen evidence googlebot executing javascript in my own logfiles).

BUT - If I have a client relying on SEO/organic ranking for their money right now, there's no way I'd be suggesting they move to a "html template with javascript loaded content" style site - not until I've seen a few other similar/competitor sites ranking well with those techniques.

Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates

#42
post #30

What about SEO and accessibility. If the content is sent via JSON it's relying on javascript, no?

Correct, the template can only be rendered on the "client" in cases where JavaScript is available. In other cases (including for the small percentage of users who have turned off JavaScript and mobile devices without JS support) the solution is to render the templates (turn them into HTML) on the server.

bvincent, could you please elaborate on this? How do you tell javascript enabled users apart from disabled ones? Is there any website discussing this you can point me to? thanks

Re: Leaving JSPs in the dust: moving LinkedIn to dust.js client-side templates

#43
post #41
post #36

Earlier quoted context omitted.

It wouldn't have SEO implications because using javascript to load content isn't considered cloaking. (Cloaking is where you present something different to googlebot vs. a live user). It's well known that googlebot does run javascript now: https://twitter.com/#!/mattcutts/status/131425949597179904 There's also some speculation that googlebot actually runs Chrome and can render anything that Chrome does: http://ipullr…

Yep. I've seen that (and I've seen evidence googlebot executing javascript in my own logfiles). BUT - If I have a client relying on SEO/organic ranking for their money right now, there's no way I'd be suggesting they move to a "html template with javascript loaded content" style site - not until I've seen a few other similar/competitor sites ranking well with those techniques.

In the blog post it mentioned that is uses node.js to render server side if the templates can't be rendered client side. I'm more interested in how they are able to determine that at load time.
Post reply on HN