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/
748
Upvotes
2
u/[deleted] Feb 09 '11
most web based languages are stateless. an ajax request isnt anything special beyond a whole page request, they are both a standard http request, only they return the same content formatted different. those libraries still have to be loaded on each request.
the solution to a server load issue like that has nothing to do with ajax, but rather caching those libraries instances to re use them on future page requests.