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
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