Skip to content

Commit fd21e4e

Browse files
committed
IE cache buster
1 parent 688d14c commit fd21e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Hook.Client.prototype.request = function(segments, method, data) {
169169

170170
if (typeof(XDomainRequest) !== "undefined") {
171171
// XMLHttpRequest#setRequestHeader isn't implemented on Internet Explorer's XDomainRequest
172-
segments += "?X-App-Id=" + this.app_id + "&X-App-Key=" + this.key;
172+
segments += "?X-App-Id=" + this.app_id + "&X-App-Key=" + this.key + "&r=" + Math.floor(Math.random()*1000);
173173
var auth_token = this.auth.getToken();
174174
if (auth_token) { segments += '&X-Auth-Token=' + auth_token; }
175175
}

0 commit comments

Comments
 (0)