diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-05-21 18:27:50 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-05-21 18:27:50 +0200 |
commit | 51a1dbb63fde70c33956a8381a6378bf294a4194 (patch) | |
tree | fc63131cd04cd235a876e7d758548e98e8d5d49a /lib/libbugzilla.js | |
parent | d5581610a9ff4d6c0f4ef5eca9bd54af92aa6de4 (diff) | |
download | bugzilla-triage-51a1dbb63fde70c33956a8381a6378bf294a4194.tar.gz |
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.
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r-- | lib/libbugzilla.js | 5 |
1 files changed, 0 insertions, 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) { |