Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Are SPA indexed by Google?
2 points by bikamonki on Jan 10, 2016 | hide | past | favorite | 2 comments
If so, how does the crawler know a new page/view is loaded when the page load event is already past on the initial (index)?


I don't know how Google handles this, but I wrote a driver that can accurately detect when an ajax page finishes loading. I simply wait for a certain amount of time to elapse when there are no pending requests. (FYI, the project is linked in my profile)


SPA are indeed indexed in Google (and even without providing server side rendered versions). I guess it uses a combination of URL hash changes and pending requests.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: