diff --git a/src/api.php b/src/api.php index 7ea8e09..54f2a6f 100644 --- a/src/api.php +++ b/src/api.php @@ -6,6 +6,7 @@ $mysqlDriver = new mysqli_driver(); $mysqlDriver->report_mode = MYSQLI_REPORT_OFF; header("Content-Type: application/json"); +header("Cache-Control: no-store, no-cache, max-age=0, must-revalidate"); if (!isset($_GET["scope"])) { http_response_code(400); diff --git a/src/collect.php b/src/collect.php index c269db7..48190de 100644 --- a/src/collect.php +++ b/src/collect.php @@ -6,6 +6,7 @@ $mysqlDriver = new mysqli_driver(); $mysqlDriver->report_mode = MYSQLI_REPORT_OFF; header("Content-Type: application/json"); +header("Cache-Control: no-cache"); if ($_SERVER["REQUEST_METHOD"] == "POST") { if (