Prevent cache for IE11 and WP8.1

This commit is contained in:
Gustavo Maximiliano Cortez 2015-01-19 19:35:07 -02:00
parent e8d3de7460
commit ac064a6e20
1 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,8 @@ InsightStorage.prototype._makeGetRequest = function(passphrase, key, callback) {
var retrieveUrl = this.storeUrl + '/retrieve';
var getParams = {
url: retrieveUrl + '?' + querystring.encode({
key: key
key: key,
rand: Math.random() // prevent cache
}),
headers: {
'Authorization': authHeader