Chapter 9. Options and Efficiencies
Chapter 4's discussion about Ajax's effect on the browser back button may seem like ancient history to you Ajax mavens. To refresh your memory, a single-page Ajax application has a self-contained navigation model; everything takes place in one web page, with client/server connections occurring using XMLHttpRequest. A user who clicks the browser's back button when the Ajax view changes in order to return to the previous Ajax view is instead returned to the page that preceded the Ajax application in that tab or window. This is a confusing outcome for fans of the browser forward and back buttons. The first two hacks in this chapter provide, well, hackish solutions to that conundrum.