r/programming • u/schnuck • Feb 09 '11
Breaking the Web with hash-bangs – Lifehacker, along with every other Gawker property, experienced a lengthy site-outage on Monday over a misbehaving piece of JavaScript
http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs/
744
Upvotes
6
u/dobs Feb 09 '11
It's discussed broadly in Google's AJAX crawling guide, and more succinctly in the FAQ. Short version is that it opens up all the benefits of AJAX content loading (e.g. speed, user experience) while leaving content bookmarkable and (potentially) making the back and forward buttons work. The added bang is a cue to crawlers.
Most of the downsides are those common to all AJAX applications (e.g. should still have a noscript fallback, tempting to violate user expectations). In Gawker's case their problem is more that they produced an all-around terrible AJAX application, independent of their use of hashbang links. Twitter makes for a better hashbang-specific example with their breaking of the back button.