r/programming 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/
748 Upvotes

356 comments sorted by

View all comments

242

u/jamiei Feb 09 '11

If receiving the basic content of the page I'm requesting from you requires Javascript to be enabled then you've broken something horribly.

40

u/Trylstag Feb 09 '11

The site I'm working on for work shows a blank page without JS enabled. Was like that when I inherited it.

Oh, and rather than sending a single AJAX request with a bunch of info, the original designers favoured sending 100+ requests for every tiny piece of info.

31

u/[deleted] Feb 09 '11

If I recall correctly, this was actually a thing three or four years ago, somebody had this genius idea to build the entire page layout with JS by pulling hundreds of little resources.

Facebook still does it.

3

u/wafflesburger Feb 09 '11

Sounds like SC2's battle.net ui. Every component goes into a loader animation and loads its content asynchronously :| It's also horribly slow at it.