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:
Nicolas Stepien 2011-11-26 22:15:40 +01:00
parent dca9725081
commit d93860f055
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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