From d93860f0558d6f92f5709c344b323eec4e474b53 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sat, 26 Nov 2011 22:15:40 +0100 Subject: [PATCH] No need to fool the cache anymore. See moot's announcement: "We will also be sending proper Last-Modified headers on HTML" --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 8420b55f5..4a9444e83 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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); } diff --git a/script.coffee b/script.coffee index f16aaa625..366377a66 100644 --- a/script.coffee +++ b/script.coffee @@ -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