Skip to content

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

Comments

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.