From 17fe4765411adc2a1c45e2ed811d13a94c42cb93 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Thu, 19 Dec 2024 16:17:04 +0100 Subject: [PATCH] fix: change Cache-Control header in "collect.php" file --- src/collect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collect.php b/src/collect.php index 48190de..f269ed0 100644 --- a/src/collect.php +++ b/src/collect.php @@ -6,7 +6,7 @@ $mysqlDriver = new mysqli_driver(); $mysqlDriver->report_mode = MYSQLI_REPORT_OFF; 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 (