This Blog Now Is Now Powered By pushStateFebruary 24, 2012
Update: Since switchin to the Hyde theme, I’ve ditched the pushState stuff. It was fun to play around with, but it’s not really meant for a blog.
Click around some internal links on this blog. You’ll notice that on supported browsers this blog no longer uses full page refreshes. Instead the content of the next page is grabbed with AJAX, parsed on the client-side*, and then inserted into the proper content node. While that is being done, instead of using hashbangs to save the state, I’m using the HTML5 history API.
*Note: I understand that this isn’t the best way to do it since we are sending the full page content over the wire, but only using part of it. A better solution would be to have Jekyll generate separate html files for just the content of each page.