From 51a1dbb63fde70c33956a8381a6378bf294a4194 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sat, 21 May 2011 18:27:50 +0200 Subject: Revert [e6762f8883], we actually want caching. See #21 for the original discussion. Lately JSON configuration is more or less stable, so we actually want caching. --- lib/libbugzilla.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index de93531..c2ee51d 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -385,11 +385,6 @@ exports.initialize = function initialize(config, callback) { debugOption = preferences.get(prefDebugName, false); preferences.set(prefDebugName, debugOption); - // Randomize URL to avoid caching - // TODO see https://fedorahosted.org/bugzilla-triage-scripts/ticket/21 - // for more thorough discussion and possible further improvement - urlStr += (urlStr.match(/\?/) == null ? "?" : "&") + (new Date()).getTime(); - Request({ url: urlStr, onComplete: function (response) { -- cgit