No need to fool the cache anymore. See moot's announcement:
"We will also be sending proper Last-Modified headers on HTML"
This commit is contained in:
parent
dca9725081
commit
d93860f055
@ -2026,7 +2026,7 @@
|
||||
var cb, url, _ref;
|
||||
updater.timer.textContent = 0;
|
||||
if ((_ref = updater.request) != null) _ref.abort();
|
||||
url = location.pathname + '?' + Date.now();
|
||||
url = location.pathname;
|
||||
cb = updater.cb.update;
|
||||
return updater.request = $.ajax(url, cb);
|
||||
}
|
||||
|
||||
@ -1607,7 +1607,7 @@ updater =
|
||||
update: ->
|
||||
updater.timer.textContent = 0
|
||||
updater.request?.abort()
|
||||
url = location.pathname + '?' + Date.now() # fool the cache
|
||||
url = location.pathname
|
||||
cb = updater.cb.update
|
||||
updater.request = $.ajax url, cb
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user