2

A few months ago I started a project, which will have two parts – business client overview panel (AngularJS SPA) and public front-end (dynamic HTML with progressive enchancements via XHR).

I'd really like to stop and throw away dynamic HTML and switch to AngularJS + API + static HTML combo (like in "panel") to avoid duplicate work in API resources and HTML templates. As this content will be public and should be indexed, I'm lost on current Google Search state.

I'm not sure I wish to implement PhantomJS + nginx cache stack (to avoid DoS possibility via PhantomJS):

SPA flowchart

(I apologize for possibly unreadable font size.)

Have anyone of you deployed SPA-only site right now and can give any insights on how (if) Google indexes your site?

  • 1
    Google will now execute javascript when crawling your site (see here). I'm not sure how well this works in practice, but this is great news for SPAs. – jhewlett May 24 '14 at 17:17
  • I recently wrote a new AngularJS project, and noticed that the binding brackets appear in google.. so I guess javascript support is not great yet.. I implemented phantomJS pre-rendering for my site. – guy mograbi Aug 18 '14 at 20:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.