This chapter examines the fastest techniques for sending data to and receiving it from the server, as well as the most efficient formats for encoding data.
Ajax, at its most basic level, is a way of communicating with a server without unloading the current page; data can be requested from the server or sent to it. There are several different ways of setting up this communication channel, each with its own advantages and restrictions. This section briefly examines the different approaches and discusses the performance implications of each.
There are five general techniques for requesting data from a server:
Dynamic script tag insertion
By far the most ...