IE默认会在ajax请求时缓存所有的信息,通常这种情况是不合理的。
解决办法:
在每次ajax请求的时候,在url后面加上字符,避免缓存
jQuery.ajax({
url: today_lottery_url+‘?‘+ new Date().toTimeString(),
type: ‘GET‘,
dataType: ‘json‘
}).done(function(data_t) {
//Do something
}
IE下的ajax缓存
原文:http://www.cnblogs.com/bigpaunch/p/4096462.html