避免ajax请求过多,导致内存溢出,请求之后回收资源

php试题网

http://phpshiti.com/

 

http://www.jb51.net/article/30458.htm

success: function (data, textStatus) {
    //do something...
},
complete: function (XHR, TS) { 
    XHR = null 
} //回收资源

 

posted @ 2016-11-25 15:37  蚂蚁羽  阅读(3179)  评论(0编辑  收藏  举报