pushState and SEO
问题 Many people have been saying, use pushState rather than hashbang. What I don't understand is, how would you be search-engine friendly without using hashbang? Presumably your pushState content is generated by client-side JavaScript code. The scenario is thusly: I'm on example.com . My user clicks a link: href="example.com/blog" pushState captures the click, updates the URL, grabs a JSON file from somewhere, and creates the listing of blog posts in the content area. With hashbangs, google knows