Advantages:
1. Asynchronous requests, do not prevent users from browsing the page or other operations.
2. Local refresh without re-refreshing the page.
3. Interface and application separation. Facilitates division of labor, reduces web application errors caused by non-technical changes to the page, improves efficiency, and is more applicable to the current publishing system.
4. Standards-based support is widely available.
5. Front-end and back-end load balancing. Minimize the burden on the server of redundant requests and responses, and improve site performance.
Disadvantages:
1.back and history, the destruction of the browser mechanism.
2. Security issues. Vulnerable to hacker attacks.
3. Support for search engines is weak.
4. Cannot support mobile devices very well.
5. Violate the original intention of URL and resource location.
Ajax pros and cons