diff options
author | Ian C <ianc@noddybox.co.uk> | 2018-07-24 13:12:41 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2018-07-24 13:12:41 +0000 |
commit | ba923b884a2678b5100e6defd07c9b7adb48bf30 (patch) | |
tree | e031b04db1ccbd1ef11b40f7607dc6e13c1f8b14 /www/get.php | |
parent | 44131e56b84d636f6a85e64b965d0a04faadc2d0 (diff) |
Don't know if it matters, but tried to stop chacheing.
Diffstat (limited to 'www/get.php')
-rw-r--r-- | www/get.php | 3 |
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); |