commit 7ce0e9ee23c68afe0d7d3ec5cab1a77b5428f06e parent 2e951139fe7c48c757fc8cc6c1243f59764c59f2 Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 7 Jul 2010 18:28:25 +0000 Don't cache HTTP GET requests in Zotero.Utilities.HTTP.doGet() Diffstat:
| M | chrome/content/zotero/xpcom/utilities.js | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -1087,6 +1087,9 @@ Zotero.Utilities.HTTP = new function() { } } + // Don't cache GET requests + xmlhttp.channel.loadFlags |= Components.interfaces.nsIRequest.LOAD_BYPASS_CACHE; + /** @ignore */ xmlhttp.onreadystatechange = function() { _stateChange(xmlhttp, onDone, responseCharset);