5 ms·
>I understand node.js with V8 and also Phantom JS but how does a client browser view the DOM rendered on the server is what I'm asking. It's returned in the re
by hackerboos 13y ago
>I understand node.js with V8 and also Phantom JS but how does a client browser view the DOM rendered on the server is what I'm asking.
It's returned in the request as HTML if the USER_AGENT matches Googlebot just like it would in a normally non-SPA web app.
- michaelwww 13y agoThen I don't understand the problem with SEO because we can feed the crawlers whatever HTML is relevant for search engines
- williamcotton 13y agoThe issue is that frameworks like Angular and Ember generate markup AFTER the HTTP GET response has been returned. If a crawler executes the web page without a full Javascript context it will miss out on the intended content.