You ain't gonna fool a cache, by appending a search to a hash. Yo.
This commit is contained in:
parent
c0c5e5e179
commit
624b4e3853
@ -1685,7 +1685,7 @@
|
|||||||
if ((_ref = updater.request) != null) {
|
if ((_ref = updater.request) != null) {
|
||||||
_ref.abort();
|
_ref.abort();
|
||||||
}
|
}
|
||||||
url = location.href + '?' + Date.now();
|
url = location.origin + location.pathname + '?' + Date.now();
|
||||||
cb = updater.cb.update;
|
cb = updater.cb.update;
|
||||||
return updater.request = $.get(url, cb);
|
return updater.request = $.get(url, cb);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1366,7 +1366,7 @@ updater =
|
|||||||
|
|
||||||
update: ->
|
update: ->
|
||||||
updater.request?.abort()
|
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
|
cb = updater.cb.update
|
||||||
updater.request = $.get url, cb
|
updater.request = $.get url, cb
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user