ajax处理缓冲问题

1.禁止页面缓存

    header("Cache-Control:no-cache");

    header("Pragma:no-cache");

    header("Expires:-1");

2.url地址唯一

    obj.open('get','服务器地址?'+随机数,true);

原文地址:https://www.cnblogs.com/lovebing/p/6181012.html