ajax处理缓冲问题

1.禁止页面缓存

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

    header("Pragma:no-cache");

    header("Expires:-1");

 

2.url地址唯一

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

posted @ 2016-12-14 21:44  刘俊涛的博客  阅读(271)  评论(0编辑  收藏  举报