fix: change Cache-Control header in "collect.php" file
This commit is contained in:
parent
d8a44a8d7b
commit
17fe476541
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ $mysqlDriver = new mysqli_driver();
|
||||||
$mysqlDriver->report_mode = MYSQLI_REPORT_OFF;
|
$mysqlDriver->report_mode = MYSQLI_REPORT_OFF;
|
||||||
|
|
||||||
header("Content-Type: application/json");
|
header("Content-Type: application/json");
|
||||||
header("Cache-Control: no-cache");
|
header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate");
|
||||||
|
|
||||||
if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in a new issue