summaryrefslogtreecommitdiff
path: root/www/get.php
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-07-24 13:12:41 +0000
committerIan C <ianc@noddybox.co.uk>2018-07-24 13:12:41 +0000
commitba923b884a2678b5100e6defd07c9b7adb48bf30 (patch)
treee031b04db1ccbd1ef11b40f7607dc6e13c1f8b14 /www/get.php
parent44131e56b84d636f6a85e64b965d0a04faadc2d0 (diff)
Don't know if it matters, but tried to stop chacheing.
Diffstat (limited to 'www/get.php')
-rw-r--r--www/get.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/get.php b/www/get.php
index c41fafc..a4e1f2a 100644
--- a/www/get.php
+++ b/www/get.php
@@ -49,6 +49,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);