From ba923b884a2678b5100e6defd07c9b7adb48bf30 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 24 Jul 2018 13:12:41 +0000 Subject: Don't know if it matters, but tried to stop chacheing. --- www/add.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/add.php') diff --git a/www/add.php b/www/add.php index 517d724..2ecff7b 100644 --- a/www/add.php +++ b/www/add.php @@ -57,6 +57,9 @@ catch(PDOException $e) $result["error"] = "DB error:" . $e->getMessage(); } +header("Cache-Control: no-cache, no-store, must-revalidate"); +header("Pragma: no-cache"); +header("Expires: 0"); header("Content-type:application/json"); echo json_encode($result); -- cgit v1.2.3