1.禁止页面缓存
header("Cache-Control:no-cache");
header("Pragma:no-cache");
header("Expires:-1");
2.url地址唯一
obj.open('get','服务器地址?'+随机数,true);
你要保守你心,胜过保守一切。
作者:刘俊涛的博客
ajax处理缓冲问题
阅读 49
2022-05-07
1.禁止页面缓存
header("Cache-Control:no-cache");
header("Pragma:no-cache");
header("Expires:-1");
2.url地址唯一
obj.open('get','服务器地址?'+随机数,true);
你要保守你心,胜过保守一切。
作者:刘俊涛的博客
相关推荐
精彩评论(0)