News for hackers. Stuff that matters.
Re:Twitter to move away from Hashbangs by pak on Monday February 20, 2012 @05:44PM (#3614285)
Wouldn't they have to, to support browsers without pushState? And even if they used terrible JavaScript hackery to get around that (serve same content for every URL, have clients AJAX in content based on location.href) how would they support web crawlers? I thought the whole point of the hashbang was that you would get the original content (or an equivalent representation) by removing it from the URL, so I'd think they still support backend rendering at some level.
Re:Twitter to move away from Hashbangs by mnutt on Monday February 20, 2012 @06:00PM (#3614343)
They could use the exact same setup they have right now.

They'd just serve the exact same (static) html for every twitter.com/username URL. I don't think it's exactly terrible Javascript hackery to look at the location.href and do an ajax call.

They'd probably support web crawlers with the same system they use now. And many web crawlers these days execute javascript anyway.

Re:Twitter to move away from Hashbangs by almost on Tuesday February 21, 2012 @02:54AM (#3615636)
The system they have now is the #! hack, the crawlers know how to request static versions of the pages. There isn't a similar mechanism for pushState based designs, you just serve up the content pre-rendered for the initial page. So that's probably what they will do to stay indexable. It will also make the first page load snappier (probably)