Re:Why we left AngularJS
by untog on Monday February 17, 2014 @07:04PM
(#7255388)
As someone who is familiar with AngularJS but hasn't used it much, the idea that the best answer running WebKit on the server, indexing your client-side generated pages and dumping them out into a Google-indexable static resource just blows my mind.
[ Parent
| on HN ]
What's really interesting is that "google" didn't see this coming - they made angular, they should in theory be huge advocates of SPA, but in reality their primary product doesn't support it well at all.
Re:Why we left AngularJS
by onedognight on Monday February 17, 2014 @11:48PM
(#7256438)
Googlebot renders client side JS just fine. Notice how the OP didn't list them and instead listed FB/Twitter.
The angularjs.org sites are indexed, just by using a trivial nginx directive to selectively serve partials to crawlers. All of the angularjs.org apps still rank fairly well using this strategy.
This isn't always appropriate of course, those apps aren't really relying on data from a database, they're proper SPAs. But as noted by others, there are ways to fool crawlers if it's something you want to do.
Generally though, the feeling is that crawlers not executing JS is going to end, and the problem will go away on its own.
> dumping them out into a Google-indexable static resource just blows my mind.
You can do that, however if you dump static page to Google bot IP only it's an SEO cheating.
No, this is explicitly endorsed by Google: