Merge pull request #2138 from jguille2/urlBlock

Fixing cache issues with url block
upd4.2
Jens Mönig 2018-07-09 15:05:18 +02:00 zatwierdzone przez GitHub
commit b95a5fa36a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -2302,6 +2302,7 @@ Process.prototype.reportURL = function (url) {
}
this.httpRequest = new XMLHttpRequest();
this.httpRequest.open("GET", url, true);
this.httpRequest.setRequestHeader('Cache-Control', 'max-age=0');
this.httpRequest.send(null);
if (this.context.isCustomCommand) {
// special case when ignoring the result, e.g. when