ajax interview relevant

[A] AJAX + ML + DTD concept

 

 

 

 

 

 

 

   

 

 

 

 

 

 

 

 

【two】

 

 

【three】

 

 

【four】

 

 

【Fives】

 

 

【six】

 

 

【Seven】

Scenes:

 

Synchronous Asynchronous:

 

 Most operations are asynchronous AJAX

 

 

 

 status:

 

&& HTTP status code reading state

 

 

 

 

 Related attributes:

 

 Package:

 

Expand Note:

 

XML drawback: the old version of the data type, the case of the same amount of data, XML file format than JSON file size a lot .. ..

 

 

Caching: caching based on URL, if the URL unchanged, it will have been cached.

eval function: string in JS content analysis can identify a code,

 

 

 

 The essential difference:

 

Performance difference:

After the GET data transmission limitations, small capacity, restrictions on the nature of the browser's URL (4-10K), not suitable for transferring large data

 

POST data transmission capacity, about 2G

 

 

If you want real security, you need to take https secure transfer protocol

The main difference:

 

 

 

 

 

.

Guess you like

Origin www.cnblogs.com/jianxian/p/12099913.html