Avoid caching the result of ajax calls. IE like to cache them a lot. fix #131

This commit is contained in:
Sébastien Lucas 2014-01-06 21:39:57 +01:00
parent f651184928
commit a78863e8a0
1 changed files with 4 additions and 0 deletions

View File

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