Avoid caching the result of ajax calls. IE like to cache them a lot. fix #131
This commit is contained in:
parent
f651184928
commit
a78863e8a0
4
util.js
4
util.js
|
@ -11,6 +11,10 @@ if (typeof LRUCache != 'undefined') {
|
|||
var cache = new LRUCache(30);
|
||||
}
|
||||
|
||||
$.ajaxSetup({
|
||||
cache: false
|
||||
});
|
||||
|
||||
var DEBUG = false;
|
||||
var isPushStateEnabled = window.history && window.history.pushState && window.history.replaceState &&
|
||||
// pushState isn't reliable on iOS until 5.
|
||||
|
|
Loading…
Reference in a new issue