You ain't gonna fool a cache, by appending a search to a hash. Yo.

This commit is contained in:
Nicolas Stepien 2011-07-30 19:31:13 +02:00
parent c0c5e5e179
commit 624b4e3853
2 changed files with 2 additions and 2 deletions

View File

@ -1685,7 +1685,7 @@
if ((_ref = updater.request) != null) {
_ref.abort();
}
url = location.href + '?' + Date.now();
url = location.origin + location.pathname + '?' + Date.now();
cb = updater.cb.update;
return updater.request = $.get(url, cb);
}

View File

@ -1366,7 +1366,7 @@ updater =
update: ->
updater.request?.abort()
url = location.href + '?' + Date.now() # fool the cache
url = location.origin + location.pathname + '?' + Date.now() # fool the cache
cb = updater.cb.update
updater.request = $.get url, cb