diff --git a/assets/js/router.js b/assets/js/router.js index 62b178b8da8574d47696cc03cd36404b75fad718..737e5656458d1a86b01896b5f614ad8a0214db3b 100644 --- a/assets/js/router.js +++ b/assets/js/router.js @@ -3,10 +3,14 @@ function UrlExists(url, cb) { url: url, dataType: 'text', type: 'GET', - cache: false, complete: function(xhr){ if(typeof cb === 'function') cb.apply(this, [xhr.status]); + }, + headers: { + 'Cache-Control': 'no-cache, no-store, must-revalidate', + 'Pragma': 'no-cache', + 'Expires': '0' } }); }