disable cache in $.ajax

This commit is contained in:
lxsang 2021-05-06 19:31:16 +02:00
parent cac548edf9
commit 44f4ad1840
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1138,7 +1138,7 @@ namespace OS {
return $.ajax({ return $.ajax({
type: "POST", type: "POST",
url: p, url: p,
cache: false, headers: { 'Cache-Control': 'no-cache'},
contentType: "application/json", contentType: "application/json",
data: JSON.stringify( data: JSON.stringify(
d, d,
@ -1226,7 +1226,7 @@ namespace OS {
return $.ajax({ return $.ajax({
url: p, url: p,
data: formd, data: formd,
cache: false, headers: { 'Cache-Control': 'no-cache'},
type: "POST", type: "POST",
contentType: false, contentType: false,
processData: false, processData: false,