From a78863e8a0b38f816c172f4f92f83e2e3fd85bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Mon, 6 Jan 2014 21:39:57 +0100 Subject: [PATCH] Avoid caching the result of ajax calls. IE like to cache them a lot. fix #131 --- util.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util.js b/util.js index 01c3b73..f09eadf 100644 --- a/util.js +++ b/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.