Mobile app version of vmapp.org
Login or Join
Alves908

: Is it possible to make a crawlable AJAX web application WITHOUT using HTML snapshots? Is it possible to make single page application (SPA) crawlable without HTML snapshots with help of HTML5

@Alves908

Posted in: #Ajax #Google #Googlebot #Seo #WebCrawlers

Is it possible to make single page application (SPA) crawlable without HTML snapshots with help of HTML5 History API pushState?

I have found contradictory meanings. Can you support or refute one of them?


YES, it's possible to make SPA crawlable w/o server rendering.

The only explanation I found is - when Google crawler goes through <a href="site.com/go"> it subscribes to onpopstate and waits you'll trigger HTML5 History pushState. After you get all async content, you trigger pushState and crawler start crawling.

Do really Google knows how to subscribe onpopstate events?
No, that impossible. I came to the same conclusion, the same is said in this article. It says that pushState is a replacement of hashbangs to make the same URL for both user and crawler.


P.S. If it's impossible with pushState, are there any other acceptable ways?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

1 Comments

Sorted by latest first Latest Oldest Best

 

@Alves908

Trying to answer my question, what I've read and understood. Correct me please if I'm wrong:

At some point of time Google decided: "why spend own server resources to execute JS if isomorphic get popular, let's force everyone to do JS on their own servers", and depracated JS execution by bots. Can't say if at this moment Google support JS, but it can stop supporting it any moment.

Moreover, I heard Google may degrade PageRank if you're not supporting server rendering.

If to speak about solution of making google bot waiting for AJAX content with History API pushState - than yes that worked (or work if Google haven't stopped JS support yet). Does this solution need JS? Or in other words how google bot subscrite onpopstate event without JS?

Conclusion: Also there are another SEO besides Google, haven't any idea if they support JS. So my conclusion is that pushState solution is not reliable and unversal.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme