1、在请求的地址中加上随机数(js中实现)
"get1.ashx?_" + Math.random()
2、加上求情头
xhr.setRequestHeader("If-Modified-Since","0");
注意的问题,设置的时候,要放在xhr.Open();方法后面