Live data from Hacker News

Javascript apps can be fully crawlable

prerender.io

111–112 of 112 posts

Re: Javascript apps can be fully crawlable

#111
post #59
post #58

Static rendering of dynamic content? I don't think this does make sense. If it's pre-rednered, it's missing something. If it has all the data at first, then it's not dynamic. Pre-rendered(static) javascript app(dynamic)...? Hmm... I don't see anything more than something like JWT in JS instead of Java?

> Static rendering of dynamic content? Yes. > I don't think this does make sense. It does, if you use one of the JS frameworks listed on the linked page.

Well I see the definitions of dynamic are completely different between you and me.

Re: Javascript apps can be fully crawlable

#112
post #78

This is a great approach, but detecting the user-agent is the wrong way to decide if you should pre-render the page. If you include the following meta tag in the header: then Google will request the page with the "_escaped_fragment_" query param. That's when you should serve the pre-rendered version of the page. Google has documentation on this here: https://developers.google.com/webmasters/ajax-crawling/docs/... and…

Thanks, I'll work on adding that. I'd still like to use a useragent fall-back for the crawlers that might not use the _escaped_fragment_ protocol.

escaped fragment is used by major search engines google, bing, yandex (if you are interested in russian markets), not sure about Yahoo! as it was ages since I used yahoo for anything.
Post reply on HN