title: pushState and SEO
body: <p>Many people have been saying, use pushState rather than hashbang.</p>
  
  <p>What I don't understand is, how would you be search-engine friendly without using hashbang?</p>
  
  <p>Presumably your pushState content is generated by client-side JavaScript code.</p>
  
  <p>The scenario is thusly:</p>
  
  <p>I'm on <code>example.com</code>. My user clicks a link: <code>href="example.com/blog"</code></p>
  
  <p>pushState captures the click, updates the URL, grabs a JSON file from somewhere, and creates the listing of blog posts in the content area.</p>
  
  <p>With hashbangs, google knows to go to the escaped_fragment URL to get their static content.</p>
  
  <p>With pushState, Google just sees nothing as it can't use the JavaScript code to load the JSON and subsequently create the template.</p>
  
  <p>The only way to do it I can see is to render the template on the server side, but that completely negates the benefits of pushing the application layer to the client.</p>
  
  <p>So am I getting this right, pushState is not SEO friendly for client-side applications at all?</p>